Merge pull request #8805 from breez/jssdwt-insert-edge-when-not-found

localchans: recreate missing edge if not found
This commit is contained in:
Oliver Gugger authored and GitHub committed 2024-11-22 08:42:51 +01:00
commit 38ec1a1c64
12 files changed
+554 -23

No files matched your search

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