Skip to content

Commit 9644d66

Browse files
committed
Merge #405: Doc: RPC: Fix named arguments' documentation for importprivkey
60efe08 Doc: RPC: Fix named arguments' documentation for importprivkey (Jorge Timón)
2 parents cd1a9e2 + 60efe08 commit 9644d66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wallet/rpcdump.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ UniValue importprivkey(const JSONRPCRequest& request)
8282

8383
if (request.fHelp || request.params.size() < 1 || request.params.size() > 3)
8484
throw runtime_error(
85-
"importprivkey \"bitcoinprivkey\" ( \"label\" ) ( rescan )\n"
85+
"importprivkey \"privkey\" ( \"label\" ) ( rescan )\n"
8686
"\nAdds a private key (as returned by dumpprivkey) to your wallet.\n"
8787
"\nArguments:\n"
88-
"1. \"bitcoinprivkey\" (string, required) The private key (see dumpprivkey)\n"
89-
"2. \"label\" (string, optional, default=\"\") An optional label\n"
90-
"3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n"
88+
"1. \"privkey\" (string, required) The private key (see dumpprivkey)\n"
89+
"2. \"label\" (string, optional, default=\"\") An optional label\n"
90+
"3. \"rescan\" (boolean, optional, default=true) Rescan the wallet for transactions\n"
9191
"\nNote: This call can take minutes to complete if rescan is true.\n"
9292
"\nExamples:\n"
9393
"\nDump a private key\n"

0 commit comments

Comments
 (0)