aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_balance.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-06-28 08:58:43 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-06-28 11:19:37 -0400
commitfa815255c70d32809aac640db4a8762c7d71e8db (patch)
tree8b252454e69e2febf7448cea512c9123943904dc /test/functional/wallet_balance.py
parent7400135b7918df9c34206bead744c496e07b0e78 (diff)
downloadbitcoin-fa815255c70d32809aac640db4a8762c7d71e8db.tar.xz
test: Add missing sync_all to wallet_balance test
Diffstat (limited to 'test/functional/wallet_balance.py')
-rwxr-xr-xtest/functional/wallet_balance.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/wallet_balance.py b/test/functional/wallet_balance.py
index 15f2195e21..137c77a51e 100755
--- a/test/functional/wallet_balance.py
+++ b/test/functional/wallet_balance.py
@@ -203,6 +203,8 @@ class WalletTest(BitcoinTestFramework):
self.log.info('Put txs back into mempool of node 1 (not node 0)')
self.nodes[0].invalidateblock(block_reorg)
self.nodes[1].invalidateblock(block_reorg)
+ self.sync_blocks()
+ self.nodes[0].syncwithvalidationinterfacequeue()
assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted
self.nodes[0].generatetoaddress(1, ADDRESS_WATCHONLY)
assert_equal(self.nodes[0].getbalance(minconf=0), 0) # wallet txs not in the mempool are untrusted