diff options
author | Oran Juice <oranjuices@hotmail.com> | 2014-09-28 13:48:52 +0530 |
---|---|---|
committer | Oran Juice <oranjuices@hotmail.com> | 2014-09-28 13:48:52 +0530 |
commit | 230b80a5db7e2353b5f91ccca2933309b242810e (patch) | |
tree | ac7e4eb782ecf55411faaf0cf387984f160e03a5 /src/mnemonics | |
parent | CRC Checksum for word seed. Gives a new 25 word seed with checksum if one wit... (diff) | |
download | monero-230b80a5db7e2353b5f91ccca2933309b242810e.tar.xz |
Minor code refactor and comment changes
Diffstat (limited to 'src/mnemonics')
-rw-r--r-- | src/mnemonics/electrum-words.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp index d0d90ed8a..c31344f61 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -66,7 +66,7 @@ namespace /*! * \brief Tells if the module hasn't been initialized with a word list file. - * \return Whether the module hasn't been initialized with a word list file. + * \return true if the module hasn't been initialized with a word list file false otherwise. */ bool is_uninitialized() { @@ -87,7 +87,7 @@ namespace input_stream.open(word_file.c_str(), std::ifstream::in); if (!input_stream) - throw std::runtime_error(std::string("Word list file couldn't be opened.")); + throw std::runtime_error("Word list file couldn't be opened."); std::string word; while (input_stream >> word) @@ -102,7 +102,7 @@ namespace /*! * \brief Tells if all the words passed in wlist was present in current word list file. * \param wlist List of words to match. - * \return Whether they were all present or not. + * \return true if all the words were present false if not. */ bool word_list_file_match(const std::vector<std::string> &wlist) { @@ -146,7 +146,7 @@ namespace crypto /*! * \brief Called to initialize it 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 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) { |