htlcswitch+lnd: make max cltv expiry configurable
This commit is contained in:
5 files changed
+28
-14
No files matched your search
@@ -585,6 +585,7 @@ func (p *peer) addLink(chanPoint *wire.OutPoint,
|
||||
MaxFeeUpdateTimeout: htlcswitch.DefaultMaxLinkFeeUpdateTimeout,
|
||||
OutgoingCltvRejectDelta: p.outgoingCltvRejectDelta,
|
||||
TowerClient: p.server.towerClient,
|
||||
MaxOutgoingCltvExpiry: cfg.MaxOutgoingCltvExpiry,
|
||||
}
|
||||
|
||||
link := htlcswitch.NewChannelLink(linkCfg, lnChan)
|
||||
|
||||
Reference in new issue
Block a user