multi: extract and pass through IsZombieChannel method

This commit is contained in:
Elle Mouton
2023-09-20 10:58:42 +02:00
parent 67df687f08
commit e12321cfd6
5 changed files with 77 additions and 25 deletions

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{