random: replace construct/assign with explicit Reseed()

This commit is contained in:
Pieter Wuille
2024-05-31 10:39:23 -04:00
parent 2ae392d561
commit ce8094246e
7 changed files with 32 additions and 47 deletions

View File

@@ -212,7 +212,7 @@ public:
prevector_tester() {
SeedRandomForTest();
rand_seed = InsecureRand256();
rand_cache = FastRandomContext(rand_seed);
rand_cache.Reseed(rand_seed);
}
};