aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFotis Koutoupas <fotis.koutoupas@gmail.com>2021-02-04 00:19:11 +0200
committerFotis Koutoupas <fotis.koutoupas@gmail.com>2021-02-04 00:19:11 +0200
commitae9d26a8f0435e2f4b39ad1181473e6575ac67b5 (patch)
treeaab70e10c5a5f35f65ec4a03fc6ceb82946870fa
parentea96e17e1f2c2b0a949366260906ef02e560a425 (diff)
downloadbitcoin-ae9d26a8f0435e2f4b39ad1181473e6575ac67b5.tar.xz
wallet: Fix already-loading error message grammar
-rw-r--r--src/wallet/wallet.cpp2
-rwxr-xr-xtest/functional/wallet_multiwallet.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index db80745db0..e91a6d40b9 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -235,7 +235,7 @@ std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const std::string&
{
auto result = WITH_LOCK(g_loading_wallet_mutex, return g_loading_wallet_set.insert(name));
if (!result.second) {
- error = Untranslated("Wallet already being loading.");
+ error = Untranslated("Wallet already loading.");
status = DatabaseStatus::FAILED_LOAD;
return nullptr;
}
diff --git a/test/functional/wallet_multiwallet.py b/test/functional/wallet_multiwallet.py
index bf24b9c7b3..71d1b96a95 100755
--- a/test/functional/wallet_multiwallet.py
+++ b/test/functional/wallet_multiwallet.py
@@ -34,7 +34,7 @@ def test_load_unload(node, name):
node.loadwallet(name)
node.unloadwallet(name)
except JSONRPCException as e:
- if e.error['code'] == -4 and 'Wallet already being loading' in e.error['message']:
+ if e.error['code'] == -4 and 'Wallet already loading' in e.error['message']:
got_loading_error = True
return