mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-21 09:10:03 +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:
parent
4d8fa349ca
commit
ec02ffa383
@ -6,7 +6,10 @@ const (
|
|||||||
// DefaultAssumedFinalCLTVDelta is the default value to be used as the
|
// DefaultAssumedFinalCLTVDelta is the default value to be used as the
|
||||||
// final CLTV delta for a route if one is unspecified in the payment
|
// final CLTV delta for a route if one is unspecified in the payment
|
||||||
// request.
|
// 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
|
// HopHint is a routing hint that contains the minimum information of a channel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user