aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-11-05 20:00:02 +0100
committerMarcoFalke <[email protected]>2020-11-05 19:51:57 +0100
commit444412821e5349ce0e0b039d884583edb70c4399 (patch)
treed8c1c388b00b215f2fa17eee514511ce5fd0563a /test/functional
parentMerge #20316: test: Fix wallet_multiwallet test issue on Windows (diff)
downloaddiscoin-444412821e5349ce0e0b039d884583edb70c4399.tar.xz
discoin-444412821e5349ce0e0b039d884583edb70c4399.zip
test: Fix intermittent issue in wallet_listsinceblock
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/wallet_listsinceblock.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/wallet_listsinceblock.py b/test/functional/wallet_listsinceblock.py
index 07c14db6b..6a1b9097c 100755
--- a/test/functional/wallet_listsinceblock.py
+++ b/test/functional/wallet_listsinceblock.py
@@ -191,6 +191,7 @@ class ListSinceBlockTest(BitcoinTestFramework):
address = key_to_p2wpkh(eckey.get_pubkey().get_bytes())
self.nodes[2].sendtoaddress(address, 10)
self.nodes[2].generate(6)
+ self.sync_all()
self.nodes[2].importprivkey(privkey)
utxos = self.nodes[2].listunspent()
utxo = [u for u in utxos if u["address"] == address][0]