mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
tests: Fix network test.
This commit is contained in:
@@ -221,8 +221,8 @@ class Test(unittest.TestCase):
|
|||||||
else:
|
else:
|
||||||
rpc('extkeyimportmaster', [rpc('mnemonic', ['new'])['master']])
|
rpc('extkeyimportmaster', [rpc('mnemonic', ['new'])['master']])
|
||||||
# Lower output split threshold for more stakeable outputs
|
# Lower output split threshold for more stakeable outputs
|
||||||
rpc('walletsettings', ['stakingoptions', json.dumps({'stakecombinethreshold': 100, 'stakesplitthreshold': 200}).replace('"', '\\"')])
|
rpc('walletsettings', ['stakingoptions', {'stakecombinethreshold': 100, 'stakesplitthreshold': 200}])
|
||||||
rpc('reservebalance', ['false'])
|
rpc('reservebalance', [False,])
|
||||||
|
|
||||||
for i in range(NUM_BTC_NODES):
|
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)
|
data_dir = prepareDataDir(TEST_DIR, i, 'bitcoin.conf', 'btc_', base_p2p_port=BTC_BASE_PORT, base_rpc_port=BTC_BASE_RPC_PORT)
|
||||||
|
|||||||
Reference in New Issue
Block a user