refactor: Remove unused error()

This commit is contained in:
MarcoFalke 2024-01-11 19:49:52 +01:00
parent fad0335517
commit fa39151394
No known key found for this signature in database

View file

@ -263,10 +263,4 @@ static inline void LogPrintf_(const std::string& logging_function, const std::st
// Deprecated conditional logging
#define LogPrint(category, ...) LogDebug(category, __VA_ARGS__)
template <typename... Args>
void error(const char* fmt, const Args&... args)
{
LogPrintf("ERROR: %s\n", tfm::format(fmt, args...));
}
#endif // BITCOIN_LOGGING_H