Skip to content

Commit 60efe08

Browse files
committed
Doc: RPC: Fix named arguments' documentation for importprivkey
1 parent cd1a9e2 commit 60efe08

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)