Merge pull request #4018 from breez/intercept-forward-htlc

Intercept forward htlc
This commit is contained in:
Joost Jager authored and GitHub committed 2020-06-22 10:18:14 +02:00
commit 8f2a2fc5da
20 files changed
+1749 -283

No files matched your search

+1 -1
View File
@@ -660,7 +660,7 @@ func (p *peer) addLink(chanPoint *wire.OutPoint,
Registry: p.server.invoices,
Switch: p.server.htlcSwitch,
Circuits: p.server.htlcSwitch.CircuitModifier(),
ForwardPackets: p.server.htlcSwitch.ForwardPackets,
ForwardPackets: p.server.interceptableSwitch.ForwardPackets,
FwrdingPolicy: *forwardingPolicy,
FeeEstimator: p.server.cc.feeEstimator,
PreimageCache: p.server.witnessBeacon,