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

+4
View File
@@ -1023,6 +1023,10 @@ func (c *ChannelGraph) AddChannelEdge(edge *models.ChannelEdgeInfo,
}
for _, f := range op {
if f == nil {
return fmt.Errorf("nil scheduler option was used")
}
f(r)
}