graph/db: thread context through NumZombies
This commit is contained in:
6 files changed
+7
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user