mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +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")
|
if (strCommand == "list")
|
||||||
{
|
{
|
||||||
JSONRPCRequest newRequest = request;
|
JSONRPCRequest newRequest = request;
|
||||||
newRequest.params.clear();
|
newRequest.params.setArray();
|
||||||
// forward params but skip "list"
|
// forward params but skip "list"
|
||||||
for (unsigned int i = 1; i < request.params.size(); i++) {
|
for (unsigned int i = 1; i < request.params.size(); i++) {
|
||||||
newRequest.params.push_back(request.params[i]);
|
newRequest.params.push_back(request.params[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user