Skip to content

Commit fafb787

Browse files
author
MarcoFalke
committed
doc: Fix outdated dev comment about logging
1 parent 2f6dca4 commit fafb787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ std::set<BlockFilterType> g_enabled_filter_types;
839839
{
840840
// Rather than throwing std::bad-alloc if allocation fails, terminate
841841
// immediately to (try to) avoid chain corruption.
842-
// Since LogPrintf may itself allocate memory, set the handler directly
842+
// Since logging may itself allocate memory, set the handler directly
843843
// to terminate first.
844844
std::set_new_handler(std::terminate);
845845
LogError("Out of memory. Terminating.\n");

0 commit comments

Comments
 (0)