disable lightning on mainnet

This commit is contained in:
ThomasV 2018-06-26 11:46:51 +02:00 committed by Janus
parent 0efc67b96b
commit 216afe4457

View File

@ -403,9 +403,8 @@ if __name__ == '__main__':
constants.set_regtest()
elif config.get('simnet'):
constants.set_simnet()
if config.get('simnet'):
constants.set_simnet()
else:
raise Exception('lightning branch not available on mainnet')
# run non-RPC commands separately
if cmdname in ['create', 'restore']: