multi: increase min cltv delta to 24

This commit is contained in:
Olaoluwa Osuntokun committed 2026-01-16 13:06:30 -08:00
1 parent 4bce4ebe03
commit 3fb59b1b6b
7 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -879,7 +879,7 @@ func testSweepHTLCs(ht *lntest.HarnessTest) {
// Before we mine empty blocks to check the RBF behavior, we need to be
// aware that Bob's incoming HTLC will expire before his outgoing HTLC
// deadline is reached. This happens because the incoming HTLC is sent
// onchain at CLTVDelta-BroadcastDelta=18-10=8, which means after 8
// onchain at CLTVDelta-BroadcastDelta=24-16=8, which means after 8
// blocks are mined, we expect Bob force closes the channel Alice->Bob.
blocksTillIncomingSweep := cltvDelta -
lncfg.DefaultIncomingBroadcastDelta