Skip to content

Commit e198720

Browse files
committed
Show the replacement txid during fee bumps
1 parent ae9173c commit e198720

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

node/src/wallets.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,13 @@ impl RpcWallet {
195195
let psbt = builder.finish()?;
196196
let tx = wallet.sign(psbt, None)?;
197197

198+
let new_txid = tx.compute_txid();
198199
let confirmation = source.rpc.broadcast_tx(&source.client, &tx)?;
199200
wallet.insert_tx(tx, confirmation)?;
200201
wallet.commit()?;
201202

202203
Ok(vec![TxResponse {
203-
txid,
204+
txid: new_txid,
204205
tags: vec![TransactionTag::FeeBump],
205206
error: None,
206207
}])

0 commit comments

Comments
 (0)