mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
zpay32: Change min_final_cltv_expiry_delta.
We adhere to BOLT 02 and use 18 instead of 9.
This commit is contained in:
@@ -6,7 +6,10 @@ const (
|
||||
// DefaultAssumedFinalCLTVDelta is the default value to be used as the
|
||||
// final CLTV delta for a route if one is unspecified in the payment
|
||||
// request.
|
||||
DefaultAssumedFinalCLTVDelta = 9
|
||||
// We adhere to the recommendation in BOLT 02 for terminal payments.
|
||||
// See also:
|
||||
// https://github.com/lightning/bolts/blob/master/02-peer-protocol.md
|
||||
DefaultAssumedFinalCLTVDelta = 18
|
||||
)
|
||||
|
||||
// HopHint is a routing hint that contains the minimum information of a channel
|
||||
|
Reference in New Issue
Block a user