Skip to content

Commit

Permalink
chore: update help text, mention that spork state/updates are irrelev…
Browse files Browse the repository at this point in the history
…ant on mainnet
  • Loading branch information
UdjinM6 committed Aug 13, 2024
1 parent 110e94c commit 1313f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static RPCHelpMan spork()
{
// default help, for basic mode
return RPCHelpMan{"spork",
"\nShows information about current state of sporks\n",
"\nShows information about current state of sporks for non-mainnet networks. Mainnet values are hardcoded.\n",
{
{"command", RPCArg::Type::STR, /* default*/ "\"show\"", "DEPRECATED. 'show' to show all current spork values"},
},
Expand Down Expand Up @@ -182,7 +182,7 @@ static RPCHelpMan spork()
static RPCHelpMan sporkupdate()
{
return RPCHelpMan{"sporkupdate",
"\nUpdate the value of the specific spork. Requires \"-sporkkey\" to be set to sign the message.\n",
"\nUpdate the value of the specific spork on non-mainnet networks. Requires \"-sporkkey\" to be set to sign the message.\n",
{
{"name", RPCArg::Type::STR, RPCArg::Optional::NO, "The name of the spork to update"},
{"value", RPCArg::Type::NUM, RPCArg::Optional::NO, "The new desired value of the spork"},
Expand Down

0 comments on commit 1313f54

Please sign in to comment.