graph/db: thread context through to UpdateEdgePolicy
This commit is contained in:
15 files changed
+94
-86
No files matched your search
@@ -161,8 +161,8 @@ func (r *mockGraphSource) queueValidationFail(chanID uint64) {
|
||||
r.chansToReject[chanID] = struct{}{}
|
||||
}
|
||||
|
||||
func (r *mockGraphSource) UpdateEdge(edge *models.ChannelEdgePolicy,
|
||||
_ ...batch.SchedulerOption) error {
|
||||
func (r *mockGraphSource) UpdateEdge(_ context.Context,
|
||||
edge *models.ChannelEdgePolicy, _ ...batch.SchedulerOption) error {
|
||||
|
||||
r.mu.Lock()
|
||||
defer func() {
|
||||
|
||||
Reference in new issue
Block a user