aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-10-18 14:16:13 -0400
committerfanquake <fanquake@gmail.com>2019-10-18 14:24:21 -0400
commite892f9648ae5f72b2020bdaa1e28901e8378e9fc (patch)
treecc1db6b49c4251c21cf0cf03e9d05959eb63019a /src/random.cpp
parentddc3cf26ff1272e905f31406d1f365a3c3c6bd9e (diff)
downloadbitcoin-e892f9648ae5f72b2020bdaa1e28901e8378e9fc.tar.xz
random: remove call to RAND_screen() (Windows only)
Follow up to https://github.com/bitcoin/bitcoin/pull/17151 where there were multiple calls to also remove our call to RAND_screen().
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/random.cpp b/src/random.cpp
index 0f13228383..48d20d7d72 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -594,10 +594,6 @@ static void SeedSleep(CSHA512& hasher, RNGState& rng)
static void SeedStartup(CSHA512& hasher, RNGState& rng) noexcept
{
-#ifdef WIN32
- RAND_screen();
-#endif
-
// Gather 256 bits of hardware randomness, if available
SeedHardwareSlow(hasher);