diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-05-30 21:24:45 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-05-30 21:24:45 +0200 |
commit | f5e65452cebf51e5557aa4c66494718b93b6df80 (patch) | |
tree | e40d06245caf7164bc97d00fc1d6a57993d4e14c | |
parent | Merge pull request #2039 (diff) | |
parent | Wallet API: Set seed lang when recovering form keys (diff) | |
download | monero-f5e65452cebf51e5557aa4c66494718b93b6df80.tar.xz |
Merge pull request #2042
740bc24c Wallet API: Set seed lang when recovering form keys (Jaquee)
-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); |