mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 13:49:35 +02:00
test: Remove FastRandomContext global
Drop g_insecure_rand_ctx
This commit is contained in:
@@ -107,7 +107,6 @@ void initialize()
|
||||
// - GetStrongRandBytes(), which is used for the creation of private key material.
|
||||
// - Creating a BasicTestingSetup or derived class will switch to a random seed.
|
||||
SeedRandomStateForTest(SeedRand::ZEROS);
|
||||
g_insecure_rand_ctx.Reseed(GetRandHash());
|
||||
|
||||
// Terminate immediately if a fuzzing harness ever tries to create a socket.
|
||||
// Individual tests can override this by pointing CreateSock to a mocked alternative.
|
||||
|
||||
Reference in New Issue
Block a user