|
|
|
@ -352,6 +352,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: |
|
|
|
|
|
|
|
raise Exception('lightning branch not available on mainnet') |
|
|
|
|
|
|
|
|
|
|
|
if cmdname == 'gui': |
|
|
|
if cmdname == 'gui': |
|
|
|
configure_logging(config) |
|
|
|
configure_logging(config) |
|
|
|
|