mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
Merge #17169: doc: correct function name in ReportHardwareRand()
5013171eafdoc: correct function name in ReportHardwareRand() (fanquake) Pull request description: The function is `InitHardwareRand` not `HWRandInit`.46d6930f8c/src/random.cpp (L99)ACKs for top commit: laanwj: ACK5013171eaftheStack: ACK5013171eafTree-SHA512: c25e1bb56e923961fc8a9178d751222b60f5ca36be84abf8fd1ac971f3a9b79b587ed9d8a4a175981b66f3fd5ad7edd6697d343e4dc4852351a1510718745455
This commit is contained in:
@@ -111,7 +111,7 @@ static void InitHardwareRand()
|
|||||||
|
|
||||||
static void ReportHardwareRand()
|
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.
|
// from global constructors, before logging is initialized.
|
||||||
if (g_rdseed_supported) {
|
if (g_rdseed_supported) {
|
||||||
LogPrintf("Using RdSeed as additional entropy source\n");
|
LogPrintf("Using RdSeed as additional entropy source\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user