test: Add missing syncwithvalidationinterfacequeue

This commit is contained in:
MacroFake committed 2022-09-15 09:06:13 +02:00
1 parent faa4916529
commit fa1ce96184
2 files changed
+5 -1

No files matched your search

@@ -89,6 +89,10 @@ class ResendWalletTransactionsTest(BitcoinTestFramework):
if txids == [child_txid, txid]:
break
bumped = node.bumpfee(child_txid)
# The scheduler queue creates a copy of the added tx after
# send/bumpfee and re-adds it to the wallet (undoing the next
# removeprunedfunds). So empty the scheduler queue:
node.syncwithvalidationinterfacequeue()
node.removeprunedfunds(child_txid)
child_txid = bumped["txid"]
entry_time = node.getmempoolentry(child_txid)["time"]