Skip to content

Commit fcf1ebd

Browse files
author
MarcoFalke
committed
Merge #17169: doc: correct function name in ReportHardwareRand()
5013171 doc: correct function name in ReportHardwareRand() (fanquake) Pull request description: The function is `InitHardwareRand` not `HWRandInit`. https://github.com/bitcoin/bitcoin/blob/46d6930f8c7ba7cbcd7d86dd5d0117642fcbc819/src/random.cpp#L99 ACKs for top commit: laanwj: ACK 5013171 theStack: ACK bitcoin/bitcoin@5013171 Tree-SHA512: c25e1bb56e923961fc8a9178d751222b60f5ca36be84abf8fd1ac971f3a9b79b587ed9d8a4a175981b66f3fd5ad7edd6697d343e4dc4852351a1510718745455
2 parents 4f42284 + 5013171 commit fcf1ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/random.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static void InitHardwareRand()
111111

112112
static void ReportHardwareRand()
113113
{
114-
// This must be done in a separate function, as HWRandInit() may be indirectly called
114+
// This must be done in a separate function, as InitHardwareRand() may be indirectly called
115115
// from global constructors, before logging is initialized.
116116
if (g_rdseed_supported) {
117117
LogPrintf("Using RdSeed as additional entropy source\n");

0 commit comments

Comments
 (0)