aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index a222e7827..2ede2f20f 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -498,9 +498,15 @@ bool simple_wallet::new_wallet(const string &wallet_file, const std::string& pas
// convert rng value to electrum-style word list
std::string electrum_words;
- if (!m_restore_deterministic_wallet)
+ if (!m_restore_deterministic_wallet || crypto::ElectrumWords::get_is_old_style_mnemonics())
{
- // Ask for language only if it not a wallet restore.
+ if (crypto::ElectrumWords::get_is_old_style_mnemonics())
+ {
+ message_writer(epee::log_space::console_color_green, false) << "\nYou have been using " <<
+ "a deprecated word list file. Please use the new seed that we provide.\n";
+ }
+ // Ask for language if it is not a wallet restore or if the old version of the wallet
+ // had given the user an old style word list.
std::string mnemonic_language = get_mnemonic_language();
try
{