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
let witness_script = chan_utils::get_htlc_redeemscript_with_explicit_keys(&this_htlc.unwrap(),&chan_keys.a_htlc_key,&chan_keys.b_htlc_key,&chan_keys.revocation_key);
677
676
678
677
if !preimage.is_some(){ bumped_tx.lock_time = *locktime };// Right now we don't aggregate time-locked transaction, if we do we should set lock_time before to avoid breaking hash computation
679
-
let sighash_parts = bip143::SighashComponents::new(&bumped_tx);
680
-
let sighash = hash_to_message!(&sighash_parts.sighash_all(&bumped_tx.input[i],&witness_script,*amount)[..]);
0 commit comments