Skip to content

Commit

Permalink
offers: add back extra cltv expiry delta
Browse files Browse the repository at this point in the history
We had removed this expiry delta because payments to more recent versions of
LDK and CLN were working without it. But without it, some payments to other
versions fail.
  • Loading branch information
orbitalturtle committed Aug 27, 2024
1 parent 259de8b commit 8071f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lndk_offers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ impl InvoicePayer for Client {

let blinded_payment_paths = tonic_lnd::lnrpc::BlindedPaymentPath {
blinded_path,
total_cltv_delta: u32::from(cltv_expiry_delta),
total_cltv_delta: u32::from(cltv_expiry_delta) + 120,
base_fee_msat: u64::from(fee_base_msat),
proportional_fee_msat: u64::from(fee_ppm),
..Default::default()
Expand Down

0 comments on commit 8071f4b

Please sign in to comment.