aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/electrum-words.h
diff options
context:
space:
mode:
authorOran Juice <oranjuices@hotmail.com>2014-09-30 23:30:27 +0530
committerOran Juice <oranjuices@hotmail.com>2014-09-30 23:30:27 +0530
commit4cbf8d4243f4ed7d085725090a76e333dc44b8b7 (patch)
tree630e3bdaf7305d8e9d7233babb6a27b184549959 /src/mnemonics/electrum-words.h
parentChange seed message to '25' words from '24' words (diff)
downloadmonero-4cbf8d4243f4ed7d085725090a76e333dc44b8b7.tar.xz
Is forgiving of spelling mistakes beyond the 1st 4 characters.
Diffstat (limited to 'src/mnemonics/electrum-words.h')
-rw-r--r--src/mnemonics/electrum-words.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mnemonics/electrum-words.h b/src/mnemonics/electrum-words.h
index c10e216e8..95c420562 100644
--- a/src/mnemonics/electrum-words.h
+++ b/src/mnemonics/electrum-words.h
@@ -57,10 +57,11 @@ namespace crypto
{
/*!
* \brief Called to initialize it to work with a word list file.
- * \param language Language of the word list file.
- * \param old_word_list Whether it is to use the old style word list file.
+ * \param language Language of the word list file.
+ * \param has_checksum True if the checksum was passed false if not.
+ * \param old_word_list true it is to use the old style word list file false if not.
*/
- void init(const std::string &language, bool old_word_list=false);
+ void init(const std::string &language, bool has_checksum=true, bool old_word_list=false);
/*!
* \brief Converts seed words to bytes (secret key).