aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2023-08-22 13:40:11 +1000
committerAnthony Towns <aj@erisian.com.au>2023-12-20 15:59:48 +1000
commite60fc7d5d34f23cccbff6e4f5f3d716fa8dad50c (patch)
tree01e6f1d7cbc8f2bf644026a7c7714ab76849d6c2 /src/init.cpp
parentf7ce5ac08c669ac763e275bb7c82dcfb2b1b6c33 (diff)
logging: Replace uses of LogPrintfCategory
Replace LogPrintfCategory with alternative unconditional log statements.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index f0847bd4f7..2431f913ce 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1503,7 +1503,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
if (status == node::ChainstateLoadStatus::SUCCESS) {
uiInterface.InitMessage(_("Verifying blocks…").translated);
if (chainman.m_blockman.m_have_pruned && options.check_blocks > MIN_BLOCKS_TO_KEEP) {
- LogPrintfCategory(BCLog::PRUNE, "pruned datadir may not have more than %d blocks; only checking available blocks\n",
+ LogWarning("pruned datadir may not have more than %d blocks; only checking available blocks\n",
MIN_BLOCKS_TO_KEEP);
}
std::tie(status, error) = catch_exceptions([&]{ return VerifyLoadedChainstate(chainman, options);});