disable lightning on mainnet
This commit is contained in:
parent
b5ddd295e4
commit
c732ede81d
@ -397,9 +397,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']:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user