Files
monero/tests/unit_tests/mnemonics.cpp
moneromooo-monero c4344800eb 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.
2015-09-03 15:32:35 +01:00

5.8 KiB