X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fconfig.rs;fp=lightning%2Fsrc%2Futil%2Fconfig.rs;h=19c4562105bff3aa15b1d6f88099a8da42a33669;hb=b75437dcb1cd7fc75787ed9add46d1dd339682fe;hp=f43423d7c0c0af923a4ac8f08a562aea474f946c;hpb=8b4ea56966878140b11aa3e17b44fcf1e01d6413;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 }