From 6e8ab87e813456a71faa94cf397152bab4a7b782 Mon Sep 17 00:00:00 2001 From: janko33bd Date: Sat, 3 Feb 2018 23:27:46 +0100 Subject: [PATCH] adjusted help --- src/wallet/rpcwallet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index c8da71c5c..a5464d472 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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"