Simplify testing RNG code

This commit is contained in:
Pieter Wuille
2018-10-31 15:51:57 -07:00
parent fd3e7973ff
commit 022cf47dd7
3 changed files with 5 additions and 12 deletions

View File

@@ -189,8 +189,8 @@ public:
prevector_tester() {
SeedInsecureRand();
rand_seed = insecure_rand_seed;
rand_cache = insecure_rand_ctx;
rand_seed = InsecureRand256();
rand_cache = FastRandomContext(rand_seed);
}
};