aboutsummaryrefslogtreecommitdiff
path: root/src/sync.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-01-06 20:11:16 -0500
committerCory Fields <cory-nospam-@coryfields.com>2015-01-06 20:18:12 -0500
commitf0b8afc88ba47a442c7493a3bf190acf9275fb60 (patch)
treefa84cd2f1808d2c7e1eb08b95439a17694ffb7ac /src/sync.h
parent3b95808428c16b2276cf1a6416d0c01ae515e81a (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 'src/sync.h')
0 files changed, 0 insertions, 0 deletions