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")]
714
714
txid:String,
715
+
#[structopt(name = "CHANGE_VOUT", long = "vout")]
716
+
/// Change output index to reduce it's amount in order to bump fee
717
+
change_vout:u32,
715
718
/// 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`
716
719
#[structopt(short = "all", long = "send_all")]
717
720
send_all:bool,
@@ -925,6 +928,7 @@ where
925
928
}
926
929
BumpFee{
927
930
txid,
931
+
change_vout,
928
932
send_all,
929
933
offline_signer,
930
934
utxos,
@@ -933,12 +937,18 @@ where
933
937
} => {
934
938
let txid = Txid::from_str(txid.as_str()).map_err(|s| Error::Generic(s.to_string()))?;
935
939
940
+
let outpoint = OutPoint::new(txid, change_vout);
941
+
let script_pubey = match wallet.get_utxo(outpoint){
0 commit comments