htlcswitch+lnd: make max cltv expiry configurable

This commit is contained in:
Wilmer Paulino committed 2019-07-26 18:05:58 -07:00
1 parent add905d17f
commit 87ff463abd
5 files changed
+28 -14

No files matched your search

+1
View File
@@ -1115,6 +1115,7 @@ func (h *hopNetwork) createChannelLink(server, peer *mockServer,
MaxFeeUpdateTimeout: maxFeeUpdateTimeout,
OnChannelFailure: func(lnwire.ChannelID, lnwire.ShortChannelID, LinkFailureError) {},
OutgoingCltvRejectDelta: 3,
MaxOutgoingCltvExpiry: DefaultMaxOutgoingCltvExpiry,
},
channel,
)