diff --git a/scripts/sendpayment.py b/scripts/sendpayment.py index 8d8912d..285f153 100755 --- a/scripts/sendpayment.py +++ b/scripts/sendpayment.py @@ -311,7 +311,7 @@ def main(): clientfactory = JMClientProtocolFactory(taker) nodaemon = jm_single().config.getint("DAEMON", "no_daemon") daemon = True if nodaemon == 1 else False - if jm_single().config.get("BLOCKCHAIN", "network") in ["regtest", "testnet"]: + if jm_single().config.get("BLOCKCHAIN", "network") == "regtest": startLogging(sys.stdout) start_reactor(jm_single().config.get("DAEMON", "daemon_host"), jm_single().config.getint("DAEMON", "daemon_port"), diff --git a/scripts/tumbler.py b/scripts/tumbler.py index c6239e4..892f7e5 100755 --- a/scripts/tumbler.py +++ b/scripts/tumbler.py @@ -183,7 +183,7 @@ def main(): clientfactory = JMClientProtocolFactory(taker) nodaemon = jm_single().config.getint("DAEMON", "no_daemon") daemon = True if nodaemon == 1 else False - if jm_single().config.get("BLOCKCHAIN", "network") in ["regtest", "testnet"]: + if jm_single().config.get("BLOCKCHAIN", "network") == "regtest": startLogging(sys.stdout) start_reactor(jm_single().config.get("DAEMON", "daemon_host"), jm_single().config.getint("DAEMON", "daemon_port"),