peer: pass watchtower client's to active links

This commit is contained in:
Conner Fromknecht committed 2019-06-13 19:54:19 -07:00
1 parent d2f3d5ef6c
commit efcdefee39
1 file changed
+1
+1
View File
@@ -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)