aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-05-23 14:01:23 +0200
committerJaquee <jaquee.monero@gmail.com>2017-05-23 14:01:23 +0200
commit740bc24c9548f3b40cfc375521b334debabf03cb (patch)
tree19b18181405deb426d50d0e079526611ee9afd93 /src/wallet
parentMerge pull request #2015 (diff)
downloadmonero-740bc24c9548f3b40cfc375521b334debabf03cb.tar.xz
Wallet API: Set seed lang when recovering form keys
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);