Skip to content

Commit ae9d26a

Browse files
committed
wallet: Fix already-loading error message grammar
1 parent ea96e17 commit ae9d26a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wallet/wallet.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const std::string&
235235
{
236236
auto result = WITH_LOCK(g_loading_wallet_mutex, return g_loading_wallet_set.insert(name));
237237
if (!result.second) {
238-
error = Untranslated("Wallet already being loading.");
238+
error = Untranslated("Wallet already loading.");
239239
status = DatabaseStatus::FAILED_LOAD;
240240
return nullptr;
241241
}

test/functional/wallet_multiwallet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_load_unload(node, name):
3434
node.loadwallet(name)
3535
node.unloadwallet(name)
3636
except JSONRPCException as e:
37-
if e.error['code'] == -4 and 'Wallet already being loading' in e.error['message']:
37+
if e.error['code'] == -4 and 'Wallet already loading' in e.error['message']:
3838
got_loading_error = True
3939
return
4040

0 commit comments

Comments
 (0)