disable lightning on mainnet

This commit is contained in:
ThomasV 2018-06-26 11:46:51 +02:00
parent e7089c1458
commit 3fd3b2a74d

View file

@ -352,6 +352,8 @@ if __name__ == '__main__':
constants.set_regtest()
elif config.get('simnet'):
constants.set_simnet()
else:
raise Exception('lightning branch not available on mainnet')
if cmdname == 'gui':
configure_logging(config)