mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
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:
parent
cbf9c54a1d
commit
6e50a7b2a1
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user