graph/db: pass reset to ForEachNodeCacheable

This commit is contained in:
Elle Mouton committed 2025-07-15 11:25:09 +02:00
1 parent 21ac7ef6f4
commit e17fd58a1d
5 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ type V1Store interface { //nolint:interfacebloat
// encountered. If the callback returns an error, then the transaction
// is aborted and the iteration stops early.
ForEachNodeCacheable(ctx context.Context, cb func(route.Vertex,
*lnwire.FeatureVector) error) error
*lnwire.FeatureVector) error, reset func()) error
// LookupAlias attempts to return the alias as advertised by the target
// node.