diff --git a/htlcswitch/link.go b/htlcswitch/link.go index ee5a41000..7d37604a4 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -39,11 +39,12 @@ const ( // willing to lock its own funds too, could force the funds of this node // to be locked up for an indefinite (max int32) number of blocks. // - // The value 1008 corresponds to on average one week worth of blocks and - // is based on the maximum number of hops (20), the default cltv delta - // (40) and some extra margin to account for the other lightning - // implementations. - DefaultMaxOutgoingCltvExpiry = 1008 + // The value 2016 corresponds to on average two weeks worth of blocks + // and is based on the maximum number of hops (20), the default CLTV + // delta (40), and some extra margin to account for the other lightning + // implementations and past lnd versions which used to have a default + // CLTV delta of 144. + DefaultMaxOutgoingCltvExpiry = 2016 // DefaultMinLinkFeeUpdateTimeout represents the minimum interval in // which a link should propose to update its commitment fee rate.