diff --git a/src/rpc/governance.cpp b/src/rpc/governance.cpp index 26cc92073f..84eef38410 100644 --- a/src/rpc/governance.cpp +++ b/src/rpc/governance.cpp @@ -1116,24 +1116,24 @@ static const CRPCCommand commands[] = { // category name actor (function) argNames // --------------------- ------------------------ ----------------------- ---------- /* Dash features */ - { "dash", "getgovernanceinfo", &getgovernanceinfo, {} }, - { "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} }, - { "dash", "gobject", &gobject, {"command"} }, - { "dash", "gobject", "count", &gobject_count, {"mode"} }, - { "dash", "gobject", "deserialize", &gobject_deserialize, {"hex_data"} }, - { "dash", "gobject", "check", &gobject_check, {"hex_data"} }, + { "dash", "getgovernanceinfo", &getgovernanceinfo, {} }, + { "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} }, + { "dash", "gobject", &gobject, {"command"} }, + { "dash", "gobject", "count", &gobject_count, {"mode"} }, + { "dash", "gobject", "deserialize", &gobject_deserialize, {"hex_data"} }, + { "dash", "gobject", "check", &gobject_check, {"hex_data"} }, #ifdef ENABLE_WALLET - { "dash", "gobject", "prepare", &gobject_prepare, {"parent-hash", "revision", "time", "data-hex", "use-IS", "outputHash", "outputIndex"} }, - { "dash", "gobject", "list-prepared", &gobject_list_prepared, {"count"} }, - { "dash", "gobject", "vote-many", &gobject_vote_many, {"governance-hash", "vote", "vote-outcome"} }, - { "dash", "gobject", "vote-alias", &gobject_vote_alias, {"governance-hash", "vote", "vote-outcome", "protx-hash"} }, + { "dash", "gobject", "prepare", &gobject_prepare, {"parent-hash", "revision", "time", "data-hex", "use-IS", "outputHash", "outputIndex"} }, + { "dash", "gobject", "list-prepared", &gobject_list_prepared, {"count"} }, + { "dash", "gobject", "vote-many", &gobject_vote_many, {"governance-hash", "vote", "vote-outcome"} }, + { "dash", "gobject", "vote-alias", &gobject_vote_alias, {"governance-hash", "vote", "vote-outcome", "protx-hash"} }, #endif - { "dash", "gobject", "submit", &gobject_submit, {"parent-hash", "revision", "time", "data-hex", "fee-txid"} }, - { "dash", "gobject", "list", &gobject_list, {"signal", "type"} }, - { "dash", "gobject", "diff", &gobject_diff, {"signal", "type"} }, - { "dash", "gobject", "get", &gobject_get, {"governance-hash"} }, - { "dash", "gobject", "getcurrentvotes", &gobject_getcurrentvotes, {"governance-hash", "txid", "vout"} }, - { "dash", "voteraw", &voteraw, {"mn-collateral-tx-hash","mn-collateral-tx-index","governance-hash","vote-signal","vote-outcome","time","vote-sig"} }, + { "dash", "gobject", "submit", &gobject_submit, {"parent-hash", "revision", "time", "data-hex", "fee-txid"} }, + { "dash", "gobject", "list", &gobject_list, {"signal", "type"} }, + { "dash", "gobject", "diff", &gobject_diff, {"signal", "type"} }, + { "dash", "gobject", "get", &gobject_get, {"governance-hash"} }, + { "dash", "gobject", "getcurrentvotes", &gobject_getcurrentvotes, {"governance-hash", "txid", "vout"} }, + { "dash", "voteraw", &voteraw, {"mn-collateral-tx-hash","mn-collateral-tx-index","governance-hash","vote-signal","vote-outcome","time","vote-sig"} }, }; // clang-format on