Skip to content

Commit fa81525

Browse files
author
MarcoFalke
committed
test: Add missing sync_all to wallet_balance test
1 parent 7400135 commit fa81525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/wallet_balance.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ def test_balances(*, fee_node_1=0):
203203
self.log.info('Put txs back into mempool of node 1 (not node 0)')
204204
self.nodes[0].invalidateblock(block_reorg)
205205
self.nodes[1].invalidateblock(block_reorg)
206+
self.sync_blocks()
207+
self.nodes[0].syncwithvalidationinterfacequeue()
206208
assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted
207209
self.nodes[0].generatetoaddress(1, ADDRESS_WATCHONLY)
208210
assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted

0 commit comments

Comments
 (0)