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:
Tom Kirkpatrick committed 2018-11-17 13:35:59 +01:00
1 parent 4da1c867c3
commit b3c78d7110
2 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -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{