From e3c0d07289d6dca87f780a5e5233ed9205551b6e Mon Sep 17 00:00:00 2001 From: Martin Saposnic Date: Mon, 2 Mar 2026 23:18:20 -0300 Subject: [PATCH] chore: bump HTLC_EXPIRY_THRESHOLD_SECS from 10 to 45 The 10s threshold was too tight for the webhook delivery pipeline, causing premature HTLC expiry and RetriesExhausted failures on 402 payments. 45s gives ample room for webhook round-trips while still well within CLTV delta bounds. --- lightning-liquidity/src/lsps4/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning-liquidity/src/lsps4/service.rs b/lightning-liquidity/src/lsps4/service.rs index 5df00c56f76..e2ceaaf6534 100644 --- a/lightning-liquidity/src/lsps4/service.rs +++ b/lightning-liquidity/src/lsps4/service.rs @@ -49,7 +49,7 @@ use std::string::String; use std::time::Instant; use std::vec::Vec; -const HTLC_EXPIRY_THRESHOLD_SECS: u64 = 10; +const HTLC_EXPIRY_THRESHOLD_SECS: u64 = 45; /// Action to forward a specific HTLC through a channel #[derive(Debug)]