Skip to content

Commit

Permalink
offers: remove extra cltv expiry delta
Browse files Browse the repository at this point in the history
In earlier versions of ldk-sample we couldn't make a payment without this
additional delta. But CLN doesn't like this additional delta and it's no longer
necessary for payments to ldk-sample.
  • Loading branch information
orbitalturtle committed Aug 13, 2024
1 parent 3bd831a commit b1047ed
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) + 120,
total_cltv_delta: u32::from(cltv_expiry_delta),
base_fee_msat: u64::from(fee_base_msat),
proportional_fee_msat: u64::from(fee_ppm),
..Default::default()
Expand Down

0 comments on commit b1047ed

Please sign in to comment.