Merge pull request #3005

369884a6 mnemonics: typo fix (4 bytes == 3 words, not 8 bytes) (stoffu)
This commit is contained in:
Riccardo Spagni 2018-01-10 11:54:38 +01:00
commit 4e3716a2d2
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -410,7 +410,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;