Skip to content

Commit 04cfd77

Browse files
committed
f update docs as jeff requested
1 parent 9a047b1 commit 04cfd77

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ pub const BREAKDOWN_TIMEOUT: u16 = 6 * 24;
523523
pub(crate) const MAX_LOCAL_BREAKDOWN_TIMEOUT: u16 = 2 * 6 * 24 * 7;
524524

525525
/// The minimum number of blocks between an inbound HTLC's CLTV and the corresponding outbound
526-
/// HTLC's CLTV.
526+
/// HTLC's CLTV. The current default represents roughly six hours of blocks at six blocks/hour.
527527
///
528528
/// This can be increased (but not decreased) through [`ChannelConfig::cltv_expiry_delta`]
529529
///

lightning/src/util/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ pub struct ChannelConfig {
173173
/// we (or one of our watchtowers) MUST be online to check for broadcast of the current
174174
/// commitment transaction at least once per this many blocks.
175175
///
176-
/// Default value: [`MIN_CLTV_EXPIRY_DELTA`] (currently 36), which we enforce as a minimum so
177-
/// you can change the config to ask for more security, not less.
176+
/// Default value: [`MIN_CLTV_EXPIRY_DELTA`], which we enforce as a minimum so you can change
177+
/// the config to ask for more security, not less.
178178
pub cltv_expiry_delta: u16,
179179
/// Set to announce the channel publicly and notify all nodes that they can route via this
180180
/// channel.

0 commit comments

Comments
 (0)