Skip to content

Commit

Permalink
[Trivial][RPC] Fix example line in importprivkey help (missing arg)
Browse files Browse the repository at this point in the history
Github-Pull: #1242
Rebased-From: ce93872
  • Loading branch information
random-zebra authored and Fuzzbawls committed Jan 11, 2020
1 parent 4133401 commit 499dac8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/rpcdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ UniValue importprivkey(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() < 1 || params.size() > 4)
throw std::runtime_error(
"importprivkey \"pivxprivkey\" ( \"label\" rescan )\n"
"importprivkey \"pivxprivkey\" ( \"label\" rescan fStakingAddress )\n"
"\nAdds a private key (as returned by dumpprivkey) to your wallet.\n" +
HelpRequiringPassphrase() + "\n"

"\nArguments:\n"
"1. \"pivxprivkey\" (string, required) The private key (see dumpprivkey)\n"
"2. \"label\" (string, optional, default=\"\") An optional label\n"
"3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n"
"4. fStakingAddress (boolean, optional, default=false) Whether this key refers to a staking address\n"
"4. fStakingAddress (boolean, optional, default=false) Whether this key refers to a (cold) staking address\n"

"\nNote: This call can take minutes to complete if rescan is true.\n"

Expand Down

0 comments on commit 499dac8

Please sign in to comment.