diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2360,10 +2360,6 @@ auto locked_chain = pwallet->chain().lock(); LOCK(pwallet->cs_wallet); - if (request.fHelp) { - return true; - } - if (!pwallet->IsCrypted()) { throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an unencrypted wallet, but " @@ -2459,9 +2455,6 @@ auto locked_chain = pwallet->chain().lock(); LOCK(pwallet->cs_wallet); - if (request.fHelp) { - return true; - } if (!pwallet->IsCrypted()) { throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an unencrypted wallet, but " @@ -2532,9 +2525,6 @@ auto locked_chain = pwallet->chain().lock(); LOCK(pwallet->cs_wallet); - if (request.fHelp) { - return true; - } if (!pwallet->IsCrypted()) { throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an unencrypted wallet, but " @@ -2593,9 +2583,6 @@ auto locked_chain = pwallet->chain().lock(); LOCK(pwallet->cs_wallet); - if (request.fHelp) { - return true; - } if (pwallet->IsCrypted()) { throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an encrypted wallet, but "