mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
tests: Call reservebalance to trigger WakeThreadStakeMiner
Node 0 needs a short advantage to stake the first few blocks to avoid prevout-not-found errors.
This commit is contained in:
@@ -395,6 +395,7 @@ class BaseTest(unittest.TestCase):
|
||||
rpc('extkeyimportmaster', [rpc('mnemonic', ['new'])['master']])
|
||||
# Lower output split threshold for more stakeable outputs
|
||||
rpc('walletsettings', ['stakingoptions', {'stakecombinethreshold': 100, 'stakesplitthreshold': 200}])
|
||||
rpc('reservebalance', [False])
|
||||
|
||||
for i in range(NUM_BTC_NODES):
|
||||
if not cls.restore_instance:
|
||||
|
||||
Reference in New Issue
Block a user