diff options
| author | practicalswift <[email protected]> | 2018-08-28 16:55:48 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-08-28 17:42:55 +0200 |
| commit | 1cc58978b7471f8a05bf60a56bf85ee6d72acf56 (patch) | |
| tree | 7d84e93f3afd66e4ce9f59cb5b88bfe338c2c795 /src/test | |
| parent | Merge #13723: PSBT key path cleanups (diff) | |
| download | discoin-1cc58978b7471f8a05bf60a56bf85ee6d72acf56.tar.xz discoin-1cc58978b7471f8a05bf60a56bf85ee6d72acf56.zip | |
tests: Fix accidental trunction from int to bool
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scheduler_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scheduler_tests.cpp b/src/test/scheduler_tests.cpp index 2af0ab22d..814459c2b 100644 --- a/src/test/scheduler_tests.cpp +++ b/src/test/scheduler_tests.cpp @@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE(manythreads) boost::mutex counterMutex[10]; int counter[10] = { 0 }; - FastRandomContext rng(42); + FastRandomContext rng{/* fDeterministic */ true}; auto zeroToNine = [](FastRandomContext& rc) -> int { return rc.randrange(10); }; // [0, 9] auto randomMsec = [](FastRandomContext& rc) -> int { return -11 + (int)rc.randrange(1012); }; // [-11, 1000] auto randomDelta = [](FastRandomContext& rc) -> int { return -1000 + (int)rc.randrange(2001); }; // [-1000, 1000] |