aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 611c1819f..1b4300edf 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -464,7 +464,8 @@ bool WalletImpl::recoverFromKeys(const std::string &path,
{
if (has_spendkey) {
m_wallet->generate(path, "", address, spendkey, viewkey);
- LOG_PRINT_L1("Generated new wallet from keys");
+ setSeedLanguage(language);
+ LOG_PRINT_L1("Generated new wallet from keys with seed language: " + language);
}
else {
m_wallet->generate(path, "", address, viewkey);