From b51bae1a5a4fa8ef7825dd1bb09e3f47f96d7a5a Mon Sep 17 00:00:00 2001 From: fanquake Date: Sat, 26 Oct 2019 08:05:59 -0400 Subject: doc: minor corrections in random.cpp This should have been part of #17151. --- src/random.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/random.cpp') diff --git a/src/random.cpp b/src/random.cpp index 48d20d7d7..b453fdd9b 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -11,8 +11,8 @@ #include // for Windows API #include #endif -#include // for LogPrint() -#include // for WAIT_LOCK +#include // for LogPrintf() +#include // for Mutex #include // for GetTime() #include @@ -716,7 +716,7 @@ bool Random_SanityCheck() uint64_t start = GetPerformanceCounter(); /* This does not measure the quality of randomness, but it does test that - * OSRandom() overwrites all 32 bytes of the output given a maximum + * GetOSRand() overwrites all 32 bytes of the output given a maximum * number of tries. */ static const ssize_t MAX_TRIES = 1024; -- cgit v1.2.3