Fix params.size() check in "protx list wallet" RPC (#3259)

This should have been "> 4" as otherwise it bails out when the height is
specified.
This commit is contained in:
Alexander Block 2020-01-01 15:02:56 +01:00 committed by UdjinM6
parent cbf9c54a1d
commit 6e50a7b2a1

View File

@ -974,7 +974,7 @@ UniValue protx_list(const JSONRPCRequest& request)
#ifdef ENABLE_WALLET
LOCK2(cs_main, pwallet->cs_wallet);
if (request.params.size() > 3) {
if (request.params.size() > 4) {
protx_list_help();
}