Skip to content

Commit ca697e6

Browse files
committed
Adjust few rpc help strings
1 parent dfc9a65 commit ca697e6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/rpc/governance.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ UniValue gobject_vote_many(const JSONRPCRequest& request)
562562
void gobject_vote_alias_help(CWallet* const pwallet)
563563
{
564564
throw std::runtime_error(
565-
"gobject vote-alias <governance-hash> <vote> <vote-outcome> <alias-name>\n"
565+
"gobject vote-alias <governance-hash> <vote> <vote-outcome> <protx-hash>\n"
566566
"Vote on a governance object by masternode's voting key (if present in local wallet)\n"
567567
+ HelpRequiringPassphrase(pwallet) + "\n"
568568
"\nArguments:\n"
@@ -887,7 +887,7 @@ UniValue gobject_getcurrentvotes(const JSONRPCRequest& request)
887887
" list - List governance objects (can be filtered by signal and/or object type)\n"
888888
" diff - List differences since last diff\n"
889889
#ifdef ENABLE_WALLET
890-
" vote-alias - Vote on a governance object by masternode alias/proTxHash\n"
890+
" vote-alias - Vote on a governance object by masternode proTxHash\n"
891891
#endif // ENABLE_WALLET
892892
" vote-conf - Vote on a governance object by masternode configured in dash.conf\n"
893893
#ifdef ENABLE_WALLET

src/rpc/rpcquorums.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ void quorum_dkgstatus_help()
136136
{
137137
throw std::runtime_error(
138138
"quorum dkgstatus (\"proTxHash\" detail_level)\n"
139+
"Return the status of the current DKG process.\n"
140+
"Works only when SPORK_17_QUORUM_DKG_ENABLED and SPORK_18_QUORUM_DEBUG_ENABLED sporks are ON.\n"
139141
"\nArguments:\n"
140142
"1. \"proTxHash\" (string, optional, default=\"\") ProTxHash of masternode to show status for.\n"
141143
" If set to an empty string, the local status is shown.\n"

0 commit comments

Comments
 (0)