Browse Source

Expose transaction input nSequence

(cherry picked from commit 46d56a05d630be2e64a362cc34c4f908c7c704c5)
liquid_e
Nadav Ivgi 6 years ago
committed by Lawrence Nahum
parent
commit
aa6c362236
  1. 2
      src/rest.rs

2
src/rest.rs

@ -129,6 +129,7 @@ struct TxInValue {
scriptsig_hex: Script,
scriptsig_asm: String,
is_coinbase: bool,
sequence: u32,
}
impl From<TxIn> for TxInValue {
@ -142,6 +143,7 @@ impl From<TxIn> for TxInValue {
scriptsig_asm: get_script_asm(&script),
scriptsig_hex: script,
is_coinbase,
sequence: txin.sequence,
}
}
}

Loading…
Cancel
Save