Skip to content

Commit 50a1cc0

Browse files
author
MarcoFalke
committed
Merge #10207: Clarify importprivkey help text ... example of blank label without rescan
c9e31c3 Clarify importprivkey help text with example of blank label without rescan Occasionally I waste a lot of time not remembering that the second parameter to importprivkey must be blank if you intend to stop rescan with "false" as the third parameter. (Warren Togami) Tree-SHA512: 23781e1d6fd59a9d06d6e12ad10e8ed6641947b3e4a1f66c8fdb5d44cbd8f291e8f2a5e686aa9f9ba5e4bab8ca688caa17244e837f651546055ddf7cc8e7df8f
2 parents 6ce7337 + c9e31c3 commit 50a1cc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wallet/rpcdump.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ UniValue importprivkey(const JSONRPCRequest& request)
9595
+ HelpExampleCli("importprivkey", "\"mykey\"") +
9696
"\nImport using a label and without rescan\n"
9797
+ HelpExampleCli("importprivkey", "\"mykey\" \"testing\" false") +
98+
"\nImport using default blank label and without rescan\n"
99+
+ HelpExampleCli("importprivkey", "\"mykey\" \"\" false") +
98100
"\nAs a JSON-RPC call\n"
99101
+ HelpExampleRpc("importprivkey", "\"mykey\", \"testing\", false")
100102
);

0 commit comments

Comments
 (0)