multi: link notifies subscribers of ActiveLinkEvent, rpc ignores

This commit is contained in:
nsa committed 2020-03-27 08:49:46 -04:00
1 parent f5237589ea
commit 966cd2112c
5 files changed
+20

No files matched your search

+1
View File
@@ -1173,6 +1173,7 @@ func (h *hopNetwork) createChannelLink(server, peer *mockServer,
OutgoingCltvRejectDelta: 3,
MaxOutgoingCltvExpiry: DefaultMaxOutgoingCltvExpiry,
MaxFeeAllocation: DefaultMaxLinkFeeAllocation,
NotifyActiveLink: func(wire.OutPoint) {},
NotifyActiveChannel: func(wire.OutPoint) {},
NotifyInactiveChannel: func(wire.OutPoint) {},
HtlcNotifier: server.htlcSwitch.cfg.HtlcNotifier,