aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-09-03 15:32:35 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-01 20:47:03 +0000
commit098dcf28858f244bae53d63f9d58f1d00d100808 (patch)
tree865d714eab57aeb54bfb5a185934faf591c29d0c /src/common
parent5feebb4d87ec9c53b9482ef388b56f78b1dabab5 (diff)
downloadmonzero-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')
0 files changed, 0 insertions, 0 deletions