Merge pull request #5292

328d291f wallet2: set seed language when creating from json (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-04-01 17:22:22 +02:00
commit 6cb0a26d9d
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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->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
{