Auto merge of #3697 - LarryRuane:nonascii-in-rpc-help, r=daira

remove non-ascii characters from help text

Nonascii characters in output displayed to the user can break python scripts.
This commit is contained in:
Homu 2018-11-22 02:52:25 -08:00
commit 6bb3124367
1 changed files with 3 additions and 3 deletions

View File

@ -3306,7 +3306,7 @@ UniValue z_listreceivedbyaddress(const UniValue& params, bool fHelp)
if (fHelp || params.size()==0 || params.size() >2)
throw runtime_error(
"z_listreceivedbyaddress \"address\" ( minconf )\n"
"\nReturn a list of amounts received by a zaddr belonging to the nodes wallet.\n"
"\nReturn a list of amounts received by a zaddr belonging to the node's wallet.\n"
"\nArguments:\n"
"1. \"address\" (string) The private address.\n"
"2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n"
@ -3397,7 +3397,7 @@ UniValue z_getbalance(const UniValue& params, bool fHelp)
if (fHelp || params.size()==0 || params.size() >2)
throw runtime_error(
"z_getbalance \"address\" ( minconf )\n"
"\nReturns the balance of a taddr or zaddr belonging to the nodes wallet.\n"
"\nReturns the balance of a taddr or zaddr belonging to the node's wallet.\n"
"\nCAUTION: If the wallet has only an incoming viewing key for this address, then spends cannot be"
"\ndetected, and so the returned balance may be larger than the actual balance.\n"
"\nArguments:\n"
@ -3458,7 +3458,7 @@ UniValue z_gettotalbalance(const UniValue& params, bool fHelp)
if (fHelp || params.size() > 2)
throw runtime_error(
"z_gettotalbalance ( minconf includeWatchonly )\n"
"\nReturn the total value of funds stored in the nodes wallet.\n"
"\nReturn the total value of funds stored in the node's wallet.\n"
"\nCAUTION: If the wallet contains any addresses for which it only has incoming viewing keys,"
"\nthe returned private balance may be larger than the actual balance, because spends cannot"
"\nbe detected with incoming viewing keys.\n"