You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[structopt(name = "TXID", short = "txid", long = "txid")]
641
641
txid:String,
642
+
#[structopt(name = "CHANGE_VOUT", long = "vout")]
643
+
/// Change output index to reduce it's amount in order to bump fee
644
+
change_vout:u32,
642
645
/// Allows the wallet to reduce the amount of the only output in order to increase fees. This is generally the expected behavior for transactions originally created with `send_all`
643
646
#[structopt(short = "all", long = "send_all")]
644
647
send_all:bool,
@@ -847,6 +850,7 @@ where
847
850
}
848
851
BumpFee{
849
852
txid,
853
+
change_vout,
850
854
send_all,
851
855
offline_signer,
852
856
utxos,
@@ -855,12 +859,17 @@ where
855
859
} => {
856
860
let txid = Txid::from_str(txid.as_str()).map_err(|s| Error::Generic(s.to_string()))?;
857
861
862
+
let outpoint = OutPoint::new(txid, change_vout);
863
+
let script_pubkey = match wallet.get_utxo(outpoint){
0 commit comments