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
Dry-up witnessScript in sign_remote_htlc_transaction
Instead of blindly signing provided witnessScript, signer must derive
channel keys corresponding to the provided per-commitment-point and
regenerate templated witnessScript to ensure its syntax correctness.
let witness_script = chan_utils::get_htlc_redeemscript_with_explicit_keys(&htlc,&chan_keys.a_htlc_key,&chan_keys.b_htlc_key,&chan_keys.revocation_key);
606
606
607
607
if !preimage.is_some(){ bumped_tx.lock_time = htlc.cltv_expiry};// Right now we don't aggregate time-locked transaction, if we do we should set lock_time before to avoid breaking hash computation
0 commit comments