Skip to content

Commit 39cd5e4

Browse files
committed
fix: format code for rpc governance
1 parent 0062421 commit 39cd5e4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/rpc/governance.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,24 +1116,24 @@ static const CRPCCommand commands[] =
11161116
{ // category name actor (function) argNames
11171117
// --------------------- ------------------------ ----------------------- ----------
11181118
/* Dash features */
1119-
{ "dash", "getgovernanceinfo", &getgovernanceinfo, {} },
1120-
{ "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} },
1121-
{ "dash", "gobject", &gobject, {"command"} },
1122-
{ "dash", "gobject", "count", &gobject_count, {"mode"} },
1123-
{ "dash", "gobject", "deserialize", &gobject_deserialize, {"hex_data"} },
1124-
{ "dash", "gobject", "check", &gobject_check, {"hex_data"} },
1119+
{ "dash", "getgovernanceinfo", &getgovernanceinfo, {} },
1120+
{ "dash", "getsuperblockbudget", &getsuperblockbudget, {"index"} },
1121+
{ "dash", "gobject", &gobject, {"command"} },
1122+
{ "dash", "gobject", "count", &gobject_count, {"mode"} },
1123+
{ "dash", "gobject", "deserialize", &gobject_deserialize, {"hex_data"} },
1124+
{ "dash", "gobject", "check", &gobject_check, {"hex_data"} },
11251125
#ifdef ENABLE_WALLET
1126-
{ "dash", "gobject", "prepare", &gobject_prepare, {"parent-hash", "revision", "time", "data-hex", "use-IS", "outputHash", "outputIndex"} },
1127-
{ "dash", "gobject", "list-prepared", &gobject_list_prepared, {"count"} },
1128-
{ "dash", "gobject", "vote-many", &gobject_vote_many, {"governance-hash", "vote", "vote-outcome"} },
1129-
{ "dash", "gobject", "vote-alias", &gobject_vote_alias, {"governance-hash", "vote", "vote-outcome", "protx-hash"} },
1126+
{ "dash", "gobject", "prepare", &gobject_prepare, {"parent-hash", "revision", "time", "data-hex", "use-IS", "outputHash", "outputIndex"} },
1127+
{ "dash", "gobject", "list-prepared", &gobject_list_prepared, {"count"} },
1128+
{ "dash", "gobject", "vote-many", &gobject_vote_many, {"governance-hash", "vote", "vote-outcome"} },
1129+
{ "dash", "gobject", "vote-alias", &gobject_vote_alias, {"governance-hash", "vote", "vote-outcome", "protx-hash"} },
11301130
#endif
1131-
{ "dash", "gobject", "submit", &gobject_submit, {"parent-hash", "revision", "time", "data-hex", "fee-txid"} },
1132-
{ "dash", "gobject", "list", &gobject_list, {"signal", "type"} },
1133-
{ "dash", "gobject", "diff", &gobject_diff, {"signal", "type"} },
1134-
{ "dash", "gobject", "get", &gobject_get, {"governance-hash"} },
1135-
{ "dash", "gobject", "getcurrentvotes", &gobject_getcurrentvotes, {"governance-hash", "txid", "vout"} },
1136-
{ "dash", "voteraw", &voteraw, {"mn-collateral-tx-hash","mn-collateral-tx-index","governance-hash","vote-signal","vote-outcome","time","vote-sig"} },
1131+
{ "dash", "gobject", "submit", &gobject_submit, {"parent-hash", "revision", "time", "data-hex", "fee-txid"} },
1132+
{ "dash", "gobject", "list", &gobject_list, {"signal", "type"} },
1133+
{ "dash", "gobject", "diff", &gobject_diff, {"signal", "type"} },
1134+
{ "dash", "gobject", "get", &gobject_get, {"governance-hash"} },
1135+
{ "dash", "gobject", "getcurrentvotes", &gobject_getcurrentvotes, {"governance-hash", "txid", "vout"} },
1136+
{ "dash", "voteraw", &voteraw, {"mn-collateral-tx-hash","mn-collateral-tx-index","governance-hash","vote-signal","vote-outcome","time","vote-sig"} },
11371137

11381138
};
11391139
// clang-format on

0 commit comments

Comments
 (0)