mnemonics: typo fix (4 bytes == 3 words, not 8 bytes)

This commit is contained in:
stoffu 2017-12-25 19:57:38 +09:00
parent b373d0f15e
commit 369884a669
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012

View file

@ -408,7 +408,7 @@ namespace crypto
std::vector<std::string> words_store; std::vector<std::string> words_store;
uint32_t word_list_length = word_list.size(); 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 += ' ') for (unsigned int i=0; i < len/4; i++, words += ' ')
{ {
uint32_t w1, w2, w3; uint32_t w1, w2, w3;