Skip to content

Commit d206f2b

Browse files
committed
QA: wallet_taproot: Ensure transaction created by sendall has enough fee to get into the mempool
Fixes intermittent issue exposed by "Wallet: Increase default confirmation target to 144"
1 parent 98ca8bc commit d206f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/wallet_taproot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def do_test_psbt(self, comment, pattern, privmap, treefn, keys_pay, keys_change)
378378
assert psbt_online.gettransaction(txid)['confirmations'] > 0
379379

380380
# Cleanup
381-
psbt = psbt_online.sendall(recipients=[self.boring.getnewaddress()], psbt=True)["psbt"]
381+
psbt = psbt_online.sendall(recipients=[self.boring.getnewaddress()], psbt=True, conf_target=1, estimate_mode='conservative')["psbt"]
382382
res = psbt_offline.walletprocesspsbt(psbt=psbt, finalize=False)
383383
rawtx = self.nodes[0].finalizepsbt(res['psbt'])['hex']
384384
txid = self.nodes[0].sendrawtransaction(rawtx)

0 commit comments

Comments
 (0)