1
0

enable lightning through command line option

This commit is contained in:
ThomasV
2019-05-03 16:42:52 +02:00
parent 9a3a63d18e
commit 842fff832f
12 changed files with 51 additions and 30 deletions

View File

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