queryroutes: set queryroutes numRoutes param default to 10 #2128
This is inconsistent with the CLI, where the default of 10 is correctly applied.
Also, the documentation for the cli
Set the default value as
Updated output from
@Roasbeef What would be a good reason to leave the default empty for RPC whilst setting it to 10 for CLI users? Seems like a better DX and UX to have both aligned, and to have a sensible default supplied (as is the case for the CLI right now).
I think diverging the interfaces in this way introduces unnecessary confusion.