Merge #17169: doc: correct function name in ReportHardwareRand()

5013171eaf 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 5013171eaf
  theStack:
    ACK https://github.com/bitcoin/bitcoin/commit/5013171eaf111d43ff824a212aebe40901221d6d

Tree-SHA512: c25e1bb56e923961fc8a9178d751222b60f5ca36be84abf8fd1ac971f3a9b79b587ed9d8a4a175981b66f3fd5ad7edd6697d343e4dc4852351a1510718745455
This commit is contained in:
MarcoFalke committed 2019-10-17 08:26:09 -04:00
commit fcf1ebde3d
1 file changed
+1 -1
+1 -1
View File
@@ -111,7 +111,7 @@ static void InitHardwareRand()
static void ReportHardwareRand()
{
// This must be done in a separate function, as HWRandInit() may be indirectly called
// This must be done in a separate function, as InitHardwareRand() may be indirectly called
// from global constructors, before logging is initialized.
if (g_rdseed_supported) {
LogPrintf("Using RdSeed as additional entropy source\n");