wallet2: set seed language when creating from json

This commit is contained in:
moneromooo-monero 2019-03-15 00:16:50 +00:00
parent 1d1a02e9f9
commit 328d291fe4
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

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