mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge 1d0c57a05c into merged_master (Bitcoin PR bitcoin/bitcoin#22914)
This commit is contained in:
commit
62c3446ccb
2 changed files with 0 additions and 7 deletions
|
|
@ -93,9 +93,6 @@ static void SetupCliArgs(ArgsManager& argsman)
|
|||
/** libevent event log callback */
|
||||
static void libevent_log_cb(int severity, const char *msg)
|
||||
{
|
||||
#ifndef EVENT_LOG_ERR // EVENT_LOG_ERR was added in 2.0.19; but before then _EVENT_LOG_ERR existed.
|
||||
# define EVENT_LOG_ERR _EVENT_LOG_ERR
|
||||
#endif
|
||||
// Ignore everything other than errors
|
||||
if (severity >= EVENT_LOG_ERR) {
|
||||
throw std::runtime_error(strprintf("libevent error: %s", msg));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue