queryroutes: set queryroutes numRoutes param default to 10
Fix an inconsistency between the gRPC/CLI queryroutes implementations. Ensure that the numRoutes param always defaults to 10.
This commit is contained in:
2 files changed
+13
-7
No files matched your search
@@ -2671,7 +2671,7 @@ var queryRoutesCommand = cli.Command{
|
||||
},
|
||||
cli.Int64Flag{
|
||||
Name: "num_max_routes",
|
||||
Usage: "the max number of routes to be returned (default: 10)",
|
||||
Usage: "the max number of routes to be returned",
|
||||
Value: 10,
|
||||
},
|
||||
cli.Int64Flag{
|
||||
|
||||
Reference in new issue
Block a user