aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2024-06-08 08:19:35 -0400
committerPieter Wuille <pieter@wuille.net>2024-07-01 12:39:57 -0400
commit2ae392d561ecfdf81855e6df6b9ad3d8843cdfa2 (patch)
tree37278669a126fc3a10a1c5966ec4e5e1ea059a6b /src/random.cpp
parent97e16f57042cab07e5e73f6bed19feec2006e4f7 (diff)
random: use LogError for init failure
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.cpp b/src/random.cpp
index 21a08c7fd3..4f930fdaa3 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -57,7 +57,7 @@ static const int NUM_OS_RANDOM_BYTES = 32;
[[noreturn]] void RandFailure()
{
- LogPrintf("Failed to read randomness, aborting\n");
+ LogError("Failed to read randomness, aborting\n");
std::abort();
}