refactor: Make error() return type void

This is needed for the next commit to compile.
This commit is contained in:
MarcoFalke
2024-01-11 19:19:04 +01:00
parent fa1d624348
commit fa808fb749
2 changed files with 3 additions and 3 deletions

View File

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