diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-09-03 15:32:35 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-02-01 20:47:03 +0000 |
| commit | 098dcf28858f244bae53d63f9d58f1d00d100808 (patch) | |
| tree | 865d714eab57aeb54bfb5a185934faf591c29d0c /src/common/command_line.cpp | |
| parent | 5feebb4d87ec9c53b9482ef388b56f78b1dabab5 (diff) | |
| download | monzero-core-098dcf28858f244bae53d63f9d58f1d00d100808.tar.gz monzero-core-098dcf28858f244bae53d63f9d58f1d00d100808.tar.xz monzero-core-098dcf28858f244bae53d63f9d58f1d00d100808.zip | |
unit_tests: fix mnemonics unit test testing invalid seeds
Some word triplets, such as "mugged names nail", are not valid
results from any 32 bit value. If used to decode a 32 bit value,
the result will therefore encode to a different word triplet.
Fix this by using random words converted from an actual random
bitstring, ensuring we always get valid triplets.
Diffstat (limited to 'src/common/command_line.cpp')
0 files changed, 0 insertions, 0 deletions
