mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-20 02:27:32 +01:00
Set MIN_CLTV_EXPIRY
to 9 as per BOLT 11 (#650)
This commit is contained in:
parent
86e91f76fc
commit
5ad65063a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user