diff options
author | stoffu <stoffu@protonmail.ch> | 2017-12-25 19:57:38 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2017-12-25 19:57:38 +0900 |
commit | 369884a669cc32ae4e645cadf67dc8d35470e100 (patch) | |
tree | d3d5eea6ed0e427a1d343cef60bc6cfcb59e1f6e | |
parent | Merge pull request #2994 (diff) | |
download | monero-369884a669cc32ae4e645cadf67dc8d35470e100.tar.xz |
mnemonics: typo fix (4 bytes == 3 words, not 8 bytes)
-rw-r--r-- | src/mnemonics/electrum-words.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp index 1b14905f6..c16a095b1 100644 --- a/src/mnemonics/electrum-words.cpp +++ b/src/mnemonics/electrum-words.cpp @@ -408,7 +408,7 @@ namespace crypto std::vector<std::string> words_store; uint32_t word_list_length = word_list.size(); - // 8 bytes -> 3 words. 8 digits base 16 -> 3 digits base 1626 + // 4 bytes -> 3 words. 8 digits base 16 -> 3 digits base 1626 for (unsigned int i=0; i < len/4; i++, words += ' ') { uint32_t w1, w2, w3; |