mirror of
https://github.com/monero-project/monero.git
synced 2024-12-26 19:59:24 -05:00
Merge pull request #3005
369884a6
mnemonics: typo fix (4 bytes == 3 words, not 8 bytes) (stoffu)
This commit is contained in:
commit
4e3716a2d2
@ -410,7 +410,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