Skip to content

Commit d4db804

Browse files
committed
qa: add a missing 'wait_for' in spend creation test
1 parent 7a18c58 commit d4db804

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_rpc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def test_create_spend(minisafed, bitcoind):
8888
bitcoind.generate_block(1, wait_for_mempool=txid)
8989
txid = bitcoind.rpc.sendtoaddress(addr, 0.3556)
9090
bitcoind.generate_block(1, wait_for_mempool=txid)
91+
wait_for(lambda: len(minisafed.rpc.listcoins()["coins"]) == 16)
9192

9293
# Stop the daemon, should be a no-op
9394
minisafed.stop()

0 commit comments

Comments
 (0)