diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-15 10:48:44 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-15 11:16:25 +0000 |
commit | f5f4109f9a64a562f977c11087bd3175a591236b (patch) | |
tree | b4d7c93bfceb00ff04ac2a6f999a141b72c3dd9d /src/cryptonote_protocol | |
parent | Merge pull request #1566 (diff) | |
download | monero-f5f4109f9a64a562f977c11087bd3175a591236b.tar.xz |
mnemonics: fix language detection with checksum word
If a checksum word is present, language detection would use
just the word prefixes. However, a set of word prefixes may
be found in more than one language, and so the wrong language
may be found first, which could then fail the checksum, since
the check may be done with a different unique prefix length
from the one it was created from.
We now make a checksum test when we we detect a language from
prefixes only, to make sure we have the correct one.
Diffstat (limited to 'src/cryptonote_protocol')
0 files changed, 0 insertions, 0 deletions