Skip to content
Permalink
Browse files

wallet2: set seed language when creating from json

  • Loading branch information...
moneromooo-monero committed Mar 15, 2019
1 parent 1d1a02e commit 328d291fe4394b84c106762c5355eaa45c4cbcb0
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/wallet/wallet2.cpp
@@ -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
{

0 comments on commit 328d291

Please sign in to comment.
You can’t perform that action at this time.