routing+refactor: remove the need to give CachedGraph source node access
In preparation for the next commit.
This commit is contained in:
6 files changed
+15
-46
No files matched your search
@@ -3201,7 +3201,7 @@ func dbFindPath(graph *channeldb.ChannelGraph,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
routingGraph, err := NewCachedGraph(sourceNode, graph)
|
||||
routingGraph, err := NewCachedGraph(graph)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user