Skip to content

Commit

Permalink
fix: rename arguments for 'voteraw'
Browse files Browse the repository at this point in the history
  • Loading branch information
knst authored and PastaPastaPasta committed Mar 17, 2024
1 parent 3621966 commit c503168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rpc/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "logging", 0, "include" },
{ "logging", 1, "exclude" },
{ "sporkupdate", 1, "value" },
{ "voteraw", 1, "tx_index" },
{ "voteraw", 1, "mn-collateral-tx-index" },
{ "voteraw", 5, "time" },
{ "getblockhashes", 0, "high"},
{ "getblockhashes", 1, "low" },
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/governance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ static const CRPCCommand commands[] =
{ "dash", "getgovernanceinfo", &getgovernanceinfo, {} },
{ "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} },
{ "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
Expand Down

0 comments on commit c503168

Please sign in to comment.