graph/db: thread context through ForEachChannelCacheable

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:34 +02:00
1 parent dc9dae8dd6
commit e8e714f6a3
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ type Store interface { //nolint:interfacebloat
//
// NOTE: this method is like ForEachChannel but fetches only the data
// required for the graph cache.
ForEachChannelCacheable(v lnwire.GossipVersion,
ForEachChannelCacheable(ctx context.Context, v lnwire.GossipVersion,
cb func(*models.CachedEdgeInfo, *models.CachedEdgePolicy,
*models.CachedEdgePolicy) error, reset func()) error