From 030b1c24296ccc7287013fc3153d509cdd9a06c9 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Tue, 31 Dec 2019 16:35:37 +0100 Subject: [PATCH] Fix params.size() check in "protx list wallet" RPC This should have been "> 4" as otherwise it bails out when the height is specified. --- src/rpc/rpcevo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/rpcevo.cpp b/src/rpc/rpcevo.cpp index 4c7f6c46751c..58d6d3ec950b 100644 --- a/src/rpc/rpcevo.cpp +++ b/src/rpc/rpcevo.cpp @@ -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(); }