graph/db: thread context through NumZombies

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:34 +02:00
1 parent f98905ae99
commit 37cc6b29d9
6 files changed
+7 -8

No files matched your search

+2 -2
View File
@@ -761,8 +761,8 @@ func (c *ChannelGraph) IsZombieEdge(ctx context.Context,
}
// NumZombies returns the current number of zombie channels in the graph.
func (c *ChannelGraph) NumZombies() (uint64, error) {
return c.db.NumZombies()
func (c *ChannelGraph) NumZombies(ctx context.Context) (uint64, error) {
return c.db.NumZombies(ctx)
}
// PutClosedScid stores a SCID for a closed channel in the database.