1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 10:39:19 +01:00

Set MIN_CLTV_EXPIRY to 9 as per BOLT 11 (#650)

This commit is contained in:
nayuta-gondo 2018-07-09 18:17:32 +09:00 committed by Pierre-Marie Padiou
parent 86e91f76fc
commit 5ad65063a0

View File

@ -58,8 +58,8 @@ object Channel {
// we won't exchange more than this many signatures when negotiating the closing fee
val MAX_NEGOTIATION_ITERATIONS = 20
// this is defined in BOLT 7
val MIN_CLTV_EXPIRY = 7L
// this is defined in BOLT 11
val MIN_CLTV_EXPIRY = 9L
val MAX_CLTV_EXPIRY = 7 * 144L // one week
case object TickRefreshChannelUpdate