mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet2: set seed language when creating from json
This commit is contained in:
parent
1d1a02e9f9
commit
328d291fe4
1 changed files with 2 additions and 0 deletions
|
@ -580,6 +580,8 @@ std::pair<std::unique_ptr<tools::wallet2>, tools::password_container> generate_f
|
|||
wallet.reset(make_basic(vm, unattended, opts, password_prompter).release());
|
||||
wallet->set_refresh_from_block_height(field_scan_from_height);
|
||||
wallet->explicit_refresh_from_block_height(field_scan_from_height_found);
|
||||
if (!old_language.empty())
|
||||
wallet->set_seed_language(old_language);
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue