aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-09-14 16:56:52 +0200
committerMacroFake <falke.marco@gmail.com>2022-09-15 09:06:13 +0200
commitfa1ce96184a1815f453e64e14d77cb0025800be9 (patch)
treef25087fc2926cb9811f73e41a873f99006218224 /test
parentfaa4916529699f9a057e2bf2459d957bcec1de84 (diff)
downloadbitcoin-fa1ce96184a1815f453e64e14d77cb0025800be9.tar.xz
test: Add missing syncwithvalidationinterfacequeue
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/wallet_resendwallettransactions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/wallet_resendwallettransactions.py b/test/functional/wallet_resendwallettransactions.py
index 52e0270f6c..b3d02fbfc9 100755
--- a/test/functional/wallet_resendwallettransactions.py
+++ b/test/functional/wallet_resendwallettransactions.py
@@ -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"]