aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-02-17 12:54:39 +0100
committerJon Atack <jon@atack.com>2022-02-21 19:07:29 +0100
commit48742693acc9de837735674057c9aae2fe90bd1d (patch)
tree77aafdc1af1ed5016ef365e07dce7c63496d3aab /src/wallet/rpc
parente670edd43441ecb6e5978d65348501c57d856030 (diff)
Replace "can not" with "cannot" in docs, user messages, and tests
Diffstat (limited to 'src/wallet/rpc')
-rw-r--r--src/wallet/rpc/encrypt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/rpc/encrypt.cpp b/src/wallet/rpc/encrypt.cpp
index 2b6a2a198d..802cc63d6d 100644
--- a/src/wallet/rpc/encrypt.cpp
+++ b/src/wallet/rpc/encrypt.cpp
@@ -66,7 +66,7 @@ RPCHelpMan walletpassphrase()
}
if (strWalletPass.empty()) {
- throw JSONRPCError(RPC_INVALID_PARAMETER, "passphrase can not be empty");
+ throw JSONRPCError(RPC_INVALID_PARAMETER, "passphrase cannot be empty");
}
if (!pwallet->Unlock(strWalletPass)) {
@@ -139,7 +139,7 @@ RPCHelpMan walletpassphrasechange()
strNewWalletPass = request.params[1].get_str().c_str();
if (strOldWalletPass.empty() || strNewWalletPass.empty()) {
- throw JSONRPCError(RPC_INVALID_PARAMETER, "passphrase can not be empty");
+ throw JSONRPCError(RPC_INVALID_PARAMETER, "passphrase cannot be empty");
}
if (!pwallet->ChangeWalletPassphrase(strOldWalletPass, strNewWalletPass)) {
@@ -236,7 +236,7 @@ RPCHelpMan encryptwallet()
strWalletPass = request.params[0].get_str().c_str();
if (strWalletPass.empty()) {
- throw JSONRPCError(RPC_INVALID_PARAMETER, "passphrase can not be empty");
+ throw JSONRPCError(RPC_INVALID_PARAMETER, "passphrase cannot be empty");
}
if (!pwallet->EncryptWallet(strWalletPass)) {