disable lightning on mainnet
This commit is contained in:
parent
0efc67b96b
commit
216afe4457
5
electrum
5
electrum
@ -403,9 +403,8 @@ if __name__ == '__main__':
|
|||||||
constants.set_regtest()
|
constants.set_regtest()
|
||||||
elif config.get('simnet'):
|
elif config.get('simnet'):
|
||||||
constants.set_simnet()
|
constants.set_simnet()
|
||||||
|
else:
|
||||||
if config.get('simnet'):
|
raise Exception('lightning branch not available on mainnet')
|
||||||
constants.set_simnet()
|
|
||||||
|
|
||||||
# run non-RPC commands separately
|
# run non-RPC commands separately
|
||||||
if cmdname in ['create', 'restore']:
|
if cmdname in ['create', 'restore']:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user