fix: rename arguments for 'voteraw'

This commit is contained in:
Konstantin Akimov 2024-03-13 22:47:53 +07:00 committed by pasta
parent 3621966f12
commit c5031685bc
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "logging", 0, "include" }, { "logging", 0, "include" },
{ "logging", 1, "exclude" }, { "logging", 1, "exclude" },
{ "sporkupdate", 1, "value" }, { "sporkupdate", 1, "value" },
{ "voteraw", 1, "tx_index" }, { "voteraw", 1, "mn-collateral-tx-index" },
{ "voteraw", 5, "time" }, { "voteraw", 5, "time" },
{ "getblockhashes", 0, "high"}, { "getblockhashes", 0, "high"},
{ "getblockhashes", 1, "low" }, { "getblockhashes", 1, "low" },

View File

@ -1097,7 +1097,7 @@ static const CRPCCommand commands[] =
{ "dash", "getgovernanceinfo", &getgovernanceinfo, {} }, { "dash", "getgovernanceinfo", &getgovernanceinfo, {} },
{ "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} }, { "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} },
{ "dash", "gobject", &gobject, {} }, { "dash", "gobject", &gobject, {} },
{ "dash", "voteraw", &voteraw, {"tx_hash","tx_index","gov_hash","signal","outcome","time","sig"} }, { "dash", "voteraw", &voteraw, {"mn-collateral-tx-hash","mn-collateral-tx-index","governance-hash","vote-signal","vote-outcome","time","vote-sig"} },
}; };
// clang-format on // clang-format on