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
@@ -4535,7 +4535,7 @@ func putSerializedPolicy(t *testing.T, db kvdb.Backend, from []byte,
func assertNumZombies(t *testing.T, graph *ChannelGraph, expZombies uint64) {
t.Helper()
numZombies, err := graph.NumZombies()
numZombies, err := graph.NumZombies(t.Context())
require.NoError(t, err, "unable to query number of zombies")
require.Equal(t, expZombies, numZombies)
}