routing: remove a context.TODO()
This commit is contained in:
4 files changed
+20
-11
No files matched your search
+3
-2
@@ -7936,8 +7936,9 @@ func (r *rpcServer) UpdateChannelPolicy(ctx context.Context,
|
||||
|
||||
// With the scope resolved, we'll now send this to the local channel
|
||||
// manager so it can propagate the new policy for our target channel(s).
|
||||
failedUpdates, err := r.server.localChanMgr.UpdatePolicy(chanPolicy,
|
||||
req.CreateMissingEdge, targetChans...)
|
||||
failedUpdates, err := r.server.localChanMgr.UpdatePolicy(
|
||||
ctx, chanPolicy, req.CreateMissingEdge, targetChans...,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user