Skip to content

Commit c189a56

Browse files
committed
Merge 1day_default_conftarget
2 parents 0525800 + a8b4eb7 commit c189a56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/wallet/wallet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true;
128128
//! Default for -walletrejectlongchains
129129
static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS{true};
130130
//! -txconfirmtarget default
131-
static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 6;
131+
static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 144;
132132
//! -walletrbf default
133133
static const bool DEFAULT_WALLET_RBF = true;
134134
static const bool DEFAULT_WALLETBROADCAST = true;

test/functional/wallet_taproot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def do_test_sendtoaddress(self, comment, pattern, privmap, treefn, keys_pay, key
305305
assert rpc_online.gettransaction(res)["confirmations"] > 0
306306

307307
# Cleanup
308-
txid = rpc_online.sendall(recipients=[self.boring.getnewaddress()])["txid"]
308+
txid = rpc_online.sendall(recipients=[self.boring.getnewaddress()], fee_rate=200)["txid"]
309309
self.generatetoaddress(self.nodes[0], 1, self.boring.getnewaddress(), sync_fun=self.no_op)
310310
assert rpc_online.gettransaction(txid)["confirmations"] > 0
311311
rpc_online.unloadwallet()
@@ -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)