diff options
| author | Cory Fields <[email protected]> | 2015-01-06 20:11:16 -0500 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2015-01-06 20:18:12 -0500 |
| commit | f0b8afc88ba47a442c7493a3bf190acf9275fb60 (patch) | |
| tree | fa84cd2f1808d2c7e1eb08b95439a17694ffb7ac /src/script/interpreter.cpp | |
| parent | Merge pull request #5520 (diff) | |
| download | discoin-f0b8afc88ba47a442c7493a3bf190acf9275fb60.tar.xz discoin-f0b8afc88ba47a442c7493a3bf190acf9275fb60.zip | |
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/script/interpreter.cpp')
0 files changed, 0 insertions, 0 deletions