X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fconfig.rs;h=19c4562105bff3aa15b1d6f88099a8da42a33669;hb=52edab7055e998ec334855c9979403e0d8eb9406;hp=f43423d7c0c0af923a4ac8f08a562aea474f946c;hpb=aa9ecabf806c908d85f0b4d60b8a0362d79219ff;p=rust-lightning diff --git a/lightning/src/util/config.rs b/lightning/src/util/config.rs index f43423d7..19c45621 100644 --- a/lightning/src/util/config.rs +++ b/lightning/src/util/config.rs @@ -129,8 +129,8 @@ pub struct ChannelHandshakeLimits { /// Not checking this value would be a security issue, as our peer would be able to set it to /// max relative lock-time (a year) and we would "lose" money as it would be locked for a long time. /// - /// Default value: MAX_LOCAL_BREAKDOWN_TIMEOUT (1008), which we also enforce as a maximum value - /// so you can tweak config to reduce the loss of having useless locked funds (if your peer accepts) + /// Default value: 2016, which we also enforce as a maximum value so you can tweak config to + /// reduce the loss of having useless locked funds (if your peer accepts) pub their_to_self_delay: u16 }