Auto merge of #3259 - leto:signmessage, r=str4d

Clarify help that signmessage only works on taddrs
This commit is contained in:
Homu 2018-06-22 02:19:12 -07:00
commit f587e61bda
1 changed files with 3 additions and 3 deletions

View File

@ -519,11 +519,11 @@ UniValue signmessage(const UniValue& params, bool fHelp)
if (fHelp || params.size() != 2)
throw runtime_error(
"signmessage \"zcashaddress\" \"message\"\n"
"\nSign a message with the private key of an address"
"signmessage \"t-addr\" \"message\"\n"
"\nSign a message with the private key of a t-addr"
+ HelpRequiringPassphrase() + "\n"
"\nArguments:\n"
"1. \"zcashaddress\" (string, required) The Zcash address to use for the private key.\n"
"1. \"t-addr\" (string, required) The transparent address to use for the private key.\n"
"2. \"message\" (string, required) The message to create a signature of.\n"
"\nResult:\n"
"\"signature\" (string) The signature of the message encoded in base 64\n"