diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2362,10 +2362,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 " @@ -2461,9 +2457,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 " @@ -2534,9 +2527,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 " @@ -2595,9 +2585,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 "