From b5a4df990812acdf5451230b5b257ea2c4b076e8 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Mon, 13 Mar 2023 21:27:36 +0200 Subject: [PATCH] tests: Fix network test. --- tests/basicswap/extended/test_network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/basicswap/extended/test_network.py b/tests/basicswap/extended/test_network.py index bd4f6b0..05eaebf 100644 --- a/tests/basicswap/extended/test_network.py +++ b/tests/basicswap/extended/test_network.py @@ -221,8 +221,8 @@ class Test(unittest.TestCase): else: rpc('extkeyimportmaster', [rpc('mnemonic', ['new'])['master']]) # Lower output split threshold for more stakeable outputs - rpc('walletsettings', ['stakingoptions', json.dumps({'stakecombinethreshold': 100, 'stakesplitthreshold': 200}).replace('"', '\\"')]) - rpc('reservebalance', ['false']) + rpc('walletsettings', ['stakingoptions', {'stakecombinethreshold': 100, 'stakesplitthreshold': 200}]) + rpc('reservebalance', [False,]) for i in range(NUM_BTC_NODES): data_dir = prepareDataDir(TEST_DIR, i, 'bitcoin.conf', 'btc_', base_p2p_port=BTC_BASE_PORT, base_rpc_port=BTC_BASE_RPC_PORT)