We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc083e commit 7634642Copy full SHA for 7634642
examples/psbt_sign_finalize.rs
@@ -81,10 +81,11 @@ fn main() {
81
82
let (outpoint, witness_utxo) = get_vout(&depo_tx, &bridge_descriptor.script_pubkey());
83
84
- let mut txin = TxIn::default();
85
- txin.previous_output = outpoint;
86
-
87
- txin.sequence = Sequence::from_height(26); //Sequence::MAX; //
+ let txin = TxIn {
+ previous_output: outpoint,
+ sequence: Sequence::from_height(26),
+ ..Default::default()
88
+ };
89
psbt.unsigned_tx.input.push(txin);
90
91
psbt.unsigned_tx.output.push(TxOut {
0 commit comments