mirror of
https://github.com/monero-project/monero.git
synced 2024-12-27 04:39:27 -05:00
Wallet API: Set seed lang when recovering form keys
This commit is contained in:
parent
694470fae7
commit
740bc24c95
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user