routing: add time_pref parameter to queryroutes and sendpayment
This commit is contained in:
17 files changed
+2034
-1918
No files matched your search
@@ -212,6 +212,7 @@ func TestRequestRoute(t *testing.T) {
|
||||
session.pathFinder = func(
|
||||
g *graphParams, r *RestrictParams, cfg *PathFindingConfig,
|
||||
source, target route.Vertex, amt lnwire.MilliSatoshi,
|
||||
timePref float64,
|
||||
finalHtlcExpiry int32) ([]*channeldb.CachedEdgePolicy, error) {
|
||||
|
||||
// We expect find path to receive a cltv limit excluding the
|
||||
|
||||
Reference in new issue
Block a user