diff options
author | Oran Juice <oranjuices@hotmail.com> | 2014-10-19 01:00:18 +0530 |
---|---|---|
committer | Oran Juice <oranjuices@hotmail.com> | 2014-10-19 01:00:18 +0530 |
commit | 031ca23ce9adcdb802097f93017e4acab87d4b37 (patch) | |
tree | 50fa0c7563748b94a7c8b917f76a31d327276065 /src/simplewallet/simplewallet.cpp | |
parent | Doxygen comments in (diff) | |
download | monero-031ca23ce9adcdb802097f93017e4acab87d4b37.tar.xz |
Rewrites to old wallet file correctly
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index bb9049015..d3b61c631 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -573,7 +573,7 @@ bool simple_wallet::open_wallet(const string &wallet_file, const std::string& pa "a deprecated version of the wallet. Please proceed to upgrade your wallet.\n"; std::string mnemonic_language = get_mnemonic_language(); m_wallet->set_seed_language(mnemonic_language); - m_wallet->generate(m_wallet_file, password, m_recovery_key, false, true); + m_wallet->rewrite(m_wallet_file, password); } } catch (const std::exception& e) |