mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-21 14:10:35 +02:00
lnrpc+routing: remove k shortest path finding
This commit is contained in:
@@ -2977,11 +2977,6 @@ var queryRoutesCommand = cli.Command{
|
||||
Usage: "percentage of the payment's amount used as the " +
|
||||
"maximum fee allowed when sending the payment",
|
||||
},
|
||||
cli.Int64Flag{
|
||||
Name: "num_max_routes",
|
||||
Usage: "the max number of routes to be returned",
|
||||
Value: 10,
|
||||
},
|
||||
cli.Int64Flag{
|
||||
Name: "final_cltv_delta",
|
||||
Usage: "(optional) number of blocks the last hop has to reveal " +
|
||||
@@ -3035,7 +3030,6 @@ func queryRoutes(ctx *cli.Context) error {
|
||||
PubKey: dest,
|
||||
Amt: amt,
|
||||
FeeLimit: feeLimit,
|
||||
NumRoutes: int32(ctx.Int("num_max_routes")),
|
||||
FinalCltvDelta: int32(ctx.Int("final_cltv_delta")),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user