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
log_info!(logger,"Delaying claim of package until its timelock at {} (current height {}), the following outpoints are spent:", req.package_timelock(), cur_height);
667
+
let package_locktime = req.package_locktime(cur_height);
668
+
if package_locktime > cur_height + 1{
669
+
log_info!(logger,"Delaying claim of package until its timelock at {} (current height {}), the following outpoints are spent:", package_locktime, cur_height);
Copy file name to clipboardExpand all lines: lightning/src/chain/package.rs
+49-17
Original file line number
Diff line number
Diff line change
@@ -434,7 +434,6 @@ impl PackageSolvingData {
434
434
let chan_keys = TxCreationKeys::derive_new(&onchain_handler.secp_ctx,&outp.per_commitment_point,&outp.counterparty_delayed_payment_base_key,&outp.counterparty_htlc_base_key,&onchain_handler.signer.pubkeys().revocation_basepoint,&onchain_handler.signer.pubkeys().htlc_basepoint);
435
435
let witness_script = chan_utils::get_htlc_redeemscript_with_explicit_keys(&outp.htlc, onchain_handler.opt_anchors(),&chan_keys.broadcaster_htlc_key,&chan_keys.countersignatory_htlc_key,&chan_keys.revocation_key);
436
436
437
-
bumped_tx.lock_time = PackedLockTime(outp.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