aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorOran Juice <oranjuices@hotmail.com>2014-10-03 16:25:44 +0530
committerOran Juice <oranjuices@hotmail.com>2014-10-03 16:25:44 +0530
commit443d46a6f1569e64b606c921298c4f3bf69d8dd9 (patch)
treeeef49f9768c9c4b6b89d1721b1e39cbb8de1ff90 /src/simplewallet
parentHad missed const and had to use .at instead of [] (diff)
downloadmonero-443d46a6f1569e64b606c921298c4f3bf69d8dd9.tar.xz
Don't show Old English as an available option
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 4b1fb07cd..780cf5daa 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -507,7 +507,7 @@ bool simple_wallet::new_wallet(const std::string &wallet_file, const std::string
// convert rng value to electrum-style word list
std::string electrum_words;
- bool was_deprecated_wallet = (old_language == "OldEnglish") ||
+ bool was_deprecated_wallet = (old_language == crypto::ElectrumWords::old_language_name) ||
crypto::ElectrumWords::get_is_old_style_seed(m_electrum_seed);
std::string mnemonic_language = old_language;