routing: create PathFindingConfig for global parameters
This commit is contained in:
9 files changed
+83
-56
No files matched your search
@@ -14,8 +14,9 @@ func TestRequestRoute(t *testing.T) {
|
||||
)
|
||||
|
||||
findPath := func(g *graphParams, r *RestrictParams,
|
||||
source, target route.Vertex, amt lnwire.MilliSatoshi) (
|
||||
[]*channeldb.ChannelEdgePolicy, error) {
|
||||
cfg *PathFindingConfig, source, target route.Vertex,
|
||||
amt lnwire.MilliSatoshi) ([]*channeldb.ChannelEdgePolicy,
|
||||
error) {
|
||||
|
||||
// We expect find path to receive a cltv limit excluding the
|
||||
// final cltv delta.
|
||||
|
||||
Reference in new issue
Block a user