Browse Source

Auto merge of #3201 - Eirik0:3190-dumpprivkey-help-text, r=str4d

Clarify help text of dumpprivkey

Closes #3190
pull/4/head
Homu 6 years ago
parent
commit
0c1adf8281
  1. 8
      src/wallet/rpcdump.cpp

8
src/wallet/rpcdump.cpp

@ -388,13 +388,13 @@ UniValue dumpprivkey(const UniValue& params, bool fHelp)
if (fHelp || params.size() != 1)
throw runtime_error(
"dumpprivkey \"zcashaddress\"\n"
"\nReveals the private key corresponding to 'zcashaddress'.\n"
"dumpprivkey \"t-addr\"\n"
"\nReveals the private key corresponding to 't-addr'.\n"
"Then the importprivkey can be used with this output\n"
"\nArguments:\n"
"1. \"zcashaddress\" (string, required) The zcash address for the private key\n"
"1. \"t-addr\" (string, required) The transparent address for the private key\n"
"\nResult:\n"
"\"key\" (string) The private key\n"
"\"key\" (string) The private key\n"
"\nExamples:\n"
+ HelpExampleCli("dumpprivkey", "\"myaddress\"")
+ HelpExampleCli("importprivkey", "\"mykey\"")

Loading…
Cancel
Save