htlcswitch+peer: notify inactive link event when htlcManager exits

This commit is contained in:
yyforyongyu
2022-11-24 06:58:33 +08:00
parent ced8833895
commit f632a58b3b
5 changed files with 34 additions and 20 deletions

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,
},