diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-15 00:16:50 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-15 00:16:50 +0000 |
commit | 328d291fe4394b84c106762c5355eaa45c4cbcb0 (patch) | |
tree | 0fd63fb4b855d2577ba223c5cd4917fc0e9d762c /src/wallet/wallet2.cpp | |
parent | Merge pull request #5258 (diff) | |
download | monero-328d291fe4394b84c106762c5355eaa45c4cbcb0.tar.xz |
wallet2: set seed language when creating from json
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 085e6075f..10ee2bf6e 100644 --- a/src/wallet/wallet2.cpp +++ b/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 { |