Fix masternode list
(#1893)
This commit is contained in:
parent
a6ba82ac9a
commit
063bc55424
@ -153,7 +153,7 @@ UniValue masternode(const JSONRPCRequest& request)
|
||||
if (strCommand == "list")
|
||||
{
|
||||
JSONRPCRequest newRequest = request;
|
||||
newRequest.params.clear();
|
||||
newRequest.params.setArray();
|
||||
// forward params but skip "list"
|
||||
for (unsigned int i = 1; i < request.params.size(); i++) {
|
||||
newRequest.params.push_back(request.params[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user