peer: pass watchtower client's to active links

This commit is contained in:
Conner Fromknecht 2019-06-13 17:30:04 -07:00
parent d2f3d5ef6c
commit efcdefee39
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -594,6 +594,7 @@ func (p *peer) addLink(chanPoint *wire.OutPoint,
MinFeeUpdateTimeout: htlcswitch.DefaultMinLinkFeeUpdateTimeout,
MaxFeeUpdateTimeout: htlcswitch.DefaultMaxLinkFeeUpdateTimeout,
OutgoingCltvRejectDelta: p.outgoingCltvRejectDelta,
TowerClient: p.server.towerClient,
}
link := htlcswitch.NewChannelLink(linkCfg, lnChan)