routing: export RestrictParams and EdgeLocator
This commit is contained in:
6 files changed
+155
-153
No files matched your search
@@ -1950,7 +1950,7 @@ func TestFindPathFeeWeighting(t *testing.T) {
|
||||
}
|
||||
|
||||
ignoreVertex := make(map[Vertex]struct{})
|
||||
ignoreEdge := make(map[edgeLocator]struct{})
|
||||
ignoreEdge := make(map[EdgeLocator]struct{})
|
||||
|
||||
amt := lnwire.MilliSatoshi(100)
|
||||
|
||||
@@ -1966,10 +1966,10 @@ func TestFindPathFeeWeighting(t *testing.T) {
|
||||
&graphParams{
|
||||
graph: ctx.graph,
|
||||
},
|
||||
&restrictParams{
|
||||
ignoredNodes: ignoreVertex,
|
||||
ignoredEdges: ignoreEdge,
|
||||
feeLimit: noFeeLimit,
|
||||
&RestrictParams{
|
||||
IgnoredNodes: ignoreVertex,
|
||||
IgnoredEdges: ignoreEdge,
|
||||
FeeLimit: noFeeLimit,
|
||||
},
|
||||
sourceNode, target, amt,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user