Merge #7726: Correct importaddress help reference to importpubkey

c5825d2 Correct importaddress help reference to importpubkey (Denis Lukianov)
This commit is contained in:
Wladimir J. van der Laan 2016-03-21 12:51:20 +01:00
commit 9af69fa7e7
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -192,7 +192,7 @@ UniValue importaddress(const UniValue& params, bool fHelp)
"3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n" "3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n"
"4. p2sh (boolean, optional, default=false) Add the P2SH version of the script as well\n" "4. p2sh (boolean, optional, default=false) Add the P2SH version of the script as well\n"
"\nNote: This call can take minutes to complete if rescan is true.\n" "\nNote: This call can take minutes to complete if rescan is true.\n"
"If you have the full public key, you should call importpublickey instead of this.\n" "If you have the full public key, you should call importpubkey instead of this.\n"
"\nExamples:\n" "\nExamples:\n"
"\nImport a script with rescan\n" "\nImport a script with rescan\n"
+ HelpExampleCli("importaddress", "\"myscript\"") + + HelpExampleCli("importaddress", "\"myscript\"") +