Skip to content

Commit 0ba727a

Browse files
committed
Clarify comment on CHECK_CLTV_EXPIRE_SANITY_2 somewhat
1 parent 68c2c44 commit 0ba727a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ pub const MIN_FINAL_CLTV_EXPIRY: u32 = HTLC_FAIL_BACK_BUFFER + 3;
593593
#[allow(dead_code)]
594594
const CHECK_CLTV_EXPIRY_SANITY: u32 = MIN_CLTV_EXPIRY_DELTA as u32 - LATENCY_GRACE_PERIOD_BLOCKS - CLTV_CLAIM_BUFFER - ANTI_REORG_DELAY - LATENCY_GRACE_PERIOD_BLOCKS;
595595

596-
// Check for ability of an attacker to make us fail on-chain by delaying inbound claim. See
596+
// Check for ability of an attacker to make us fail on-chain by delaying an HTLC claim. See
597597
// ChannelMontior::would_broadcast_at_height for a description of why this is needed.
598598
#[deny(const_err)]
599599
#[allow(dead_code)]

0 commit comments

Comments
 (0)