multi: extract and pass through IsZombieChannel method

This commit is contained in:
Elle Mouton committed 2023-12-11 09:12:05 +02:00
1 parent 67df687f08
commit e12321cfd6
5 files changed
+77 -25

No files matched your search

+1
View File
@@ -1030,6 +1030,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
FindBaseByAlias: s.aliasMgr.FindBaseSCID,
GetAlias: s.aliasMgr.GetPeerAlias,
FindChannel: s.findChannel,
IsStillZombieChannel: s.chanRouter.IsZombieChannel,
}, nodeKeyDesc)
s.localChanMgr = &localchans.Manager{