aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-10-26 08:05:59 -0400
committerPieter Wuille <pieter.wuille@gmail.com>2019-11-12 14:50:44 -0800
commitb51bae1a5a4fa8ef7825dd1bb09e3f47f96d7a5a (patch)
treebd08df6d431f6f5bc3578cb95e50e75ead3510a5 /src/random.cpp
parent270616228bc9a3856a0a82dea26ac3480b7585cd (diff)
doc: minor corrections in random.cpp
This should have been part of #17151.
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/random.cpp b/src/random.cpp
index 48d20d7d72..b453fdd9b8 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -11,8 +11,8 @@
#include <compat.h> // for Windows API
#include <wincrypt.h>
#endif
-#include <logging.h> // for LogPrint()
-#include <sync.h> // for WAIT_LOCK
+#include <logging.h> // for LogPrintf()
+#include <sync.h> // for Mutex
#include <util/time.h> // for GetTime()
#include <stdlib.h>
@@ -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;