log: Remove error() reference

This commit is contained in:
Fabian Jahr 2024-02-18 18:45:18 +01:00
parent d14c7286b6
commit d0e6564240
No known key found for this signature in database
GPG key ID: F13D1E9D890798CD

View file

@ -215,7 +215,7 @@ static inline bool LogAcceptCategory(BCLog::LogFlags category, BCLog::Level leve
/** Return true if str parses as a log category and set the flag */
bool GetLogCategory(BCLog::LogFlags& flag, const std::string& str);
// Be conservative when using LogPrintf/error or other things which
// Be conservative when using functions that
// unconditionally log to debug.log! It should not be the case that an inbound
// peer can fill up a user's disk with debug.log entries.