adjusted help

This commit is contained in:
janko33bd
2018-02-03 23:27:46 +01:00
parent 0cb80ee889
commit 6e8ab87e81

View File

@@ -1893,12 +1893,13 @@ UniValue walletpassphrase(const UniValue& params, bool fHelp)
if (pwalletMain->IsCrypted() && (fHelp || params.size() < 2 || params.size() > 3))
throw runtime_error(
"walletpassphrase \"passphrase\" timeout\n"
"walletpassphrase \"passphrase\" timeout staking\n"
"\nStores the wallet decryption key in memory for 'timeout' seconds.\n"
"This is needed prior to performing transactions related to private keys such as sending bitcoins\n"
"\nArguments:\n"
"1. \"passphrase\" (string, required) The wallet passphrase\n"
"2. timeout (numeric, required) The time to keep the decryption key in seconds.\n"
"3. staking (bool, optional, default=false) Unlock wallet for staking only.\n"
"\nNote:\n"
"Issuing the walletpassphrase command while the wallet is already unlocked will set a new unlock\n"
"time that overrides the old one.\n"