diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-05-23 14:01:23 +0200 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-05-23 14:01:23 +0200 |
commit | 740bc24c9548f3b40cfc375521b334debabf03cb (patch) | |
tree | 19b18181405deb426d50d0e079526611ee9afd93 /src/wallet/api | |
parent | Merge pull request #2015 (diff) | |
download | monero-740bc24c9548f3b40cfc375521b334debabf03cb.tar.xz |
Wallet API: Set seed lang when recovering form keys
Diffstat (limited to 'src/wallet/api')
-rw-r--r-- | src/wallet/api/wallet.cpp | 3 |
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); |