aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-10 11:54:38 +0100
committerRiccardo Spagni <ric@spagni.net>2018-01-10 11:54:38 +0100
commit4e3716a2d23e2d121fa70331b07da5223cea6cc8 (patch)
tree1be292493c978775371ad44ab50c3d23366e9103 /src/mnemonics
parentMerge pull request #3004 (diff)
parentmnemonics: typo fix (4 bytes == 3 words, not 8 bytes) (diff)
downloadmonero-4e3716a2d23e2d121fa70331b07da5223cea6cc8.tar.xz
Merge pull request #3005
369884a6 mnemonics: typo fix (4 bytes == 3 words, not 8 bytes) (stoffu)
Diffstat (limited to 'src/mnemonics')
-rw-r--r--src/mnemonics/electrum-words.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mnemonics/electrum-words.cpp b/src/mnemonics/electrum-words.cpp
index ba67952aa..f44ad40aa 100644
--- a/src/mnemonics/electrum-words.cpp
+++ b/src/mnemonics/electrum-words.cpp
@@ -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;