mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
wallet2: set seed language when creating from json
This commit is contained in:
parent
1d1a02e9f9
commit
328d291fe4
@ -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.reset(make_basic(vm, unattended, opts, password_prompter).release());
|
||||||
wallet->set_refresh_from_block_height(field_scan_from_height);
|
wallet->set_refresh_from_block_height(field_scan_from_height);
|
||||||
wallet->explicit_refresh_from_block_height(field_scan_from_height_found);
|
wallet->explicit_refresh_from_block_height(field_scan_from_height_found);
|
||||||
|
if (!old_language.empty())
|
||||||
|
wallet->set_seed_language(old_language);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user