peer+htlcswitch: inject notification endpoint

This commit is contained in:
bitromortac committed 2026-02-20 10:43:52 +01:00
1 parent a3d87f16b9
commit 0f1472536c
4 files changed
+8

No files matched your search

+1
View File
@@ -1175,6 +1175,7 @@ func (h *hopNetwork) createChannelLink(server, peer *mockServer,
NotifyActiveChannel: func(wire.OutPoint) {},
NotifyInactiveChannel: func(wire.OutPoint) {},
NotifyInactiveLinkEvent: func(wire.OutPoint) {},
NotifyChannelUpdate: func(*channeldb.OpenChannel) {},
HtlcNotifier: server.htlcSwitch.cfg.HtlcNotifier,
GetAliases: getAliases,
ShouldFwdExpAccountability: func() bool { return true },