diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-06 20:11:16 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-06 20:18:12 -0500 |
commit | f0b8afc88ba47a442c7493a3bf190acf9275fb60 (patch) | |
tree | fa84cd2f1808d2c7e1eb08b95439a17694ffb7ac /Makefile.am | |
parent | 3b95808428c16b2276cf1a6416d0c01ae515e81a (diff) |
tests: fix spurious windows test failures after 012598880c
on rare occasions, rand() was returning duped values, causing duplicate
transactions.
BuildMerkleTree happily used these, but CPartialMerkleTree caught them and
returned a null merkle root.
Rather than taking changes with rand(), use the loop counter to guarantee
unique values.
At sipa's request, also remove the remaining uses of rand().
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions