mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 11:23:26 +01:00
Merge pull request #2042
740bc24c
Wallet API: Set seed lang when recovering form keys (Jaquee)
This commit is contained in:
commit
f5e65452ce
@ -464,7 +464,8 @@ bool WalletImpl::recoverFromKeys(const std::string &path,
|
|||||||
{
|
{
|
||||||
if (has_spendkey) {
|
if (has_spendkey) {
|
||||||
m_wallet->generate(path, "", address, spendkey, viewkey);
|
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 {
|
else {
|
||||||
m_wallet->generate(path, "", address, viewkey);
|
m_wallet->generate(path, "", address, viewkey);
|
||||||
|
Loading…
Reference in New Issue
Block a user