mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #5292
328d291f
wallet2: set seed language when creating from json (moneromooo-monero)
This commit is contained in:
commit
6cb0a26d9d
@ -622,6 +622,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