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

+1 -1
View File
@@ -4405,7 +4405,7 @@ func isZombieEdge(zombieIndex kvdb.RBucket,
}
// NumZombies returns the current number of zombie channels in the graph.
func (c *KVStore) NumZombies() (uint64, error) {
func (c *KVStore) NumZombies(_ context.Context) (uint64, error) {
var numZombies uint64
err := kvdb.View(c.db, func(tx kvdb.RTx) error {
edges := tx.ReadBucket(edgeBucket)