routing: remove a context.TODO()

This commit is contained in:
Elle Mouton committed 2025-06-19 14:49:32 +02:00
1 parent 9597f01ce3
commit 91513623b5
4 files changed
+20 -11

No files matched your search

+3 -2
View File
@@ -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
}