From 369884a669cc32ae4e645cadf67dc8d35470e100 Mon Sep 17 00:00:00 2001 From: stoffu Date: Mon, 25 Dec 2017 19:57:38 +0900 Subject: [PATCH] mnemonics: typo fix (4 bytes == 3 words, not 8 bytes) --- src/mnemonics/electrum-words.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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;