htlcswitch+peer: notify inactive link event when htlcManager exits

This commit is contained in:
yyforyongyu committed 2023-01-18 03:46:16 +08:00
1 parent ced8833895
commit f632a58b3b
5 files changed
+34 -20

No files matched your search

+1
View File
@@ -1159,6 +1159,7 @@ func (h *hopNetwork) createChannelLink(server, peer *mockServer,
NotifyActiveLink: func(wire.OutPoint) {},
NotifyActiveChannel: func(wire.OutPoint) {},
NotifyInactiveChannel: func(wire.OutPoint) {},
NotifyInactiveLinkEvent: func(wire.OutPoint) {},
HtlcNotifier: server.htlcSwitch.cfg.HtlcNotifier,
GetAliases: getAliases,
},