mirror of
https://github.com/monero-project/monero.git
synced 2024-12-15 12:56:33 +02:00
mnemonics: typo fix (4 bytes == 3 words, not 8 bytes)
This commit is contained in:
parent
b373d0f15e
commit
369884a669
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user