graph/db: let ForEachNodeChannel take a context
This commit is contained in:
9 files changed
+22
-18
No files matched your search
@@ -83,7 +83,7 @@ type V1Store interface { //nolint:interfacebloat
|
||||
// to the caller.
|
||||
//
|
||||
// Unknown policies are passed into the callback as nil values.
|
||||
ForEachNodeChannel(nodePub route.Vertex,
|
||||
ForEachNodeChannel(ctx context.Context, nodePub route.Vertex,
|
||||
cb func(*models.ChannelEdgeInfo, *models.ChannelEdgePolicy,
|
||||
*models.ChannelEdgePolicy) error) error
|
||||
|
||||
|
||||
Reference in new issue
Block a user