Merge pull request #8805 from breez/jssdwt-insert-edge-when-not-found
localchans: recreate missing edge if not found
This commit is contained in:
12 files changed
+554
-23
No files matched your search
+1
-1
@@ -7770,7 +7770,7 @@ 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,
|
||||
targetChans...)
|
||||
req.CreateMissingEdge, targetChans...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user