diff options
author | Oran Juice <oranjuices@hotmail.com> | 2014-09-30 23:30:27 +0530 |
---|---|---|
committer | Oran Juice <oranjuices@hotmail.com> | 2014-09-30 23:30:27 +0530 |
commit | 4cbf8d4243f4ed7d085725090a76e333dc44b8b7 (patch) | |
tree | 630e3bdaf7305d8e9d7233babb6a27b184549959 /src/mnemonics/electrum-words.h | |
parent | Change seed message to '25' words from '24' words (diff) | |
download | monero-4cbf8d4243f4ed7d085725090a76e333dc44b8b7.tar.xz |
Is forgiving of spelling mistakes beyond the 1st 4 characters.
Diffstat (limited to '')
-rw-r--r-- | src/mnemonics/electrum-words.h | 7 |
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). |