routing: add time_pref parameter to queryroutes and sendpayment

This commit is contained in:
Joost Jager committed 2022-04-13 20:26:46 +02:00
1 parent 269a8e74d3
commit ba5abdc090
17 files changed
+2034 -1918

No files matched your search

+2 -2
View File
@@ -123,8 +123,8 @@ func testQueryRoutes(t *testing.T, useMissionControl bool, useMsat bool,
}
findRoute := func(source, target route.Vertex,
amt lnwire.MilliSatoshi, restrictions *routing.RestrictParams,
_ record.CustomSet,
amt lnwire.MilliSatoshi, _ float64,
restrictions *routing.RestrictParams, _ record.CustomSet,
routeHints map[route.Vertex][]*channeldb.CachedEdgePolicy,
finalExpiry uint16) (*route.Route, error) {