graph/db: expose reset in ForEachChannel

Add a `reset` call-back param to the V1Store ForEachChannel method.
This commit is contained in:
Elle Mouton committed 2025-07-15 11:23:26 +02:00
1 parent e00f0a03fc
commit 88261834e5
6 files changed
+18 -22

No files matched your search

+1 -1
View File
@@ -475,7 +475,7 @@ func fetchAllChannelsAndPolicies(t *testing.T, store V1Store) chanSet {
})
return nil
})
}, func() {})
require.NoError(t, err)
// Sort the channels by their channel ID to ensure a consistent order.