aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOran Juice <oranjuices@hotmail.com>2014-09-28 14:10:23 +0530
committerOran Juice <oranjuices@hotmail.com>2014-09-28 14:10:23 +0530
commit2b60646c9bcf8519bbe4bbc5bb433d2a0d1141a7 (patch)
tree1a67a8ecb90612555395f30c2138e49ff23e5106
parentDefault to new style English seed (diff)
downloadmonero-2b60646c9bcf8519bbe4bbc5bb433d2a0d1141a7.tar.xz
Minor comment changes and code clean-up
-rw-r--r--src/mnemonics/electrum-words.cpp2
-rw-r--r--src/mnemonics/electrum-words.h2
-rw-r--r--src/simplewallet/simplewallet.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp
index 9e1cc9ec8..d1fae84cb 100644
--- a/src/mnemonics/electrum-words.cpp
+++ b/src/mnemonics/electrum-words.cpp
@@ -299,7 +299,7 @@ namespace crypto
/*!
* \brief Gets a list of seed languages that are supported.
- * \param languages The list of languages gets added to this vector.
+ * \param languages The vector is set to the list of languages.
*/
void get_language_list(std::vector<std::string> &languages)
{
diff --git a/src/mnemonics/electrum-words.h b/src/mnemonics/electrum-words.h
index ffe2fdefb..c10e216e8 100644
--- a/src/mnemonics/electrum-words.h
+++ b/src/mnemonics/electrum-words.h
@@ -80,7 +80,7 @@ namespace crypto
/*!
* \brief Gets a list of seed languages that are supported.
- * \param languages The list of languages gets added to this vector.
+ * \param languages The vector is set to the list of languages.
*/
void get_language_list(std::vector<std::string> &languages);
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index ee2b1346f..7a47dead0 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -511,15 +511,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;
- bool is_deprecated_wallet = m_restore_deterministic_wallet &&
+ bool was_deprecated_wallet = m_restore_deterministic_wallet &&
(crypto::ElectrumWords::get_is_old_style_word_list() ||
crypto::ElectrumWords::get_is_old_style_seed(m_electrum_seed));
// Ask for seed language if it is not a wallet restore or if it was a deprecated wallet
// that was earlier used before this restore.
- if (!m_restore_deterministic_wallet || is_deprecated_wallet)
+ if (!m_restore_deterministic_wallet || was_deprecated_wallet)
{
- if (is_deprecated_wallet)
+ if (was_deprecated_wallet)
{
// The user had used an older version of the wallet with old style mnemonics.
message_writer(epee::log_space::console_color_green, false) << "\nYou had been using " <<