aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentMerge pull request #636 (diff)
downloadmonero-098dcf28858f244bae53d63f9d58f1d00d100808.tar.xz
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 '')
0 files changed, 0 insertions, 0 deletions