From 953811f77a85cfc79d79e08f2283ddf0b9730928 Mon Sep 17 00:00:00 2001 From: David Burkett Date: Fri, 24 Feb 2023 02:44:03 -0500 Subject: [PATCH] Remove 'GUARDED_BY(NetEventsInterface::g_msgproc_mutex)' to avoid gitian build failures --- src/net_processing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net_processing.cpp b/src/net_processing.cpp index d6504de62b..fbba2fbecd 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -480,9 +480,9 @@ struct Peer { /** Number of addresses that can be processed from this peer. Start at 1 to * permit self-announcement. */ - double m_addr_token_bucket GUARDED_BY(NetEventsInterface::g_msgproc_mutex){1.0}; + double m_addr_token_bucket{1.0}; /** When m_addr_token_bucket was last updated */ - std::chrono::microseconds m_addr_token_timestamp GUARDED_BY(NetEventsInterface::g_msgproc_mutex){GetTime()}; + std::chrono::microseconds m_addr_token_timestamp{GetTime()}; /** Total number of addresses that were dropped due to rate limiting. */ std::atomic m_addr_rate_limited{0}; /** Total number of addresses that were processed (excludes rate-limited ones). */