graph/db: thread context through to UpdateEdgePolicy

This commit is contained in:
Elle Mouton committed 2025-06-19 14:49:31 +02:00
1 parent 3fdb9b84f4
commit 81c063eb96
15 files changed
+94 -86

No files matched your search

+1 -1
View File
@@ -332,7 +332,7 @@ type V1Store interface { //nolint:interfacebloat
// node's information. The node ordering is determined by the
// lexicographical ordering of the identity public keys of the nodes on
// either side of the channel.
UpdateEdgePolicy(edge *models.ChannelEdgePolicy,
UpdateEdgePolicy(ctx context.Context, edge *models.ChannelEdgePolicy,
op ...batch.SchedulerOption) (route.Vertex, route.Vertex, error)
// SourceNode returns the source node of the graph. The source node is