1
0

add 'recḱless' option to allow using lightning on mainnet

This commit is contained in:
ThomasV
2018-10-14 10:24:06 +02:00
parent 87fb0da5e1
commit 626d09b358
3 changed files with 10 additions and 3 deletions

View File

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