From 4bce4ebe037dafc13a383ec6c80d7da1af168646 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 13 Jan 2026 18:11:05 -0800 Subject: [PATCH] routing: increase MinCLTVDelta from 18 to 24 blocks This increases the minimum CLTV delta allowed for invoice creation to provide more headroom above DefaultFinalCltvRejectDelta (19 blocks). The previous value of 18 was below the reject threshold, which could allow users to create invoices with CLTV deltas that would be rejected when receiving payments. --- routing/router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/router.go b/routing/router.go index 3c35b7c52..19df5b921 100644 --- a/routing/router.go +++ b/routing/router.go @@ -54,8 +54,8 @@ const ( // creating incompatibilities during the upgrade process. For some time // LND has used an explicit default final CLTV delta of 40 blocks for // bitcoin, though we now clamp the lower end of this - // range for user-chosen deltas to 18 blocks to be conservative. - MinCLTVDelta = 18 + // range for user-chosen deltas to 24 blocks to be conservative. + MinCLTVDelta = 24 // MaxCLTVDelta is the maximum CLTV value accepted by LND for all // timelock deltas.