mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
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