Skip to content

Commit 953811f

Browse files
committed
Remove 'GUARDED_BY(NetEventsInterface::g_msgproc_mutex)' to avoid gitian build failures
1 parent 4733455 commit 953811f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,9 @@ struct Peer {
480480

481481
/** Number of addresses that can be processed from this peer. Start at 1 to
482482
* permit self-announcement. */
483-
double m_addr_token_bucket GUARDED_BY(NetEventsInterface::g_msgproc_mutex){1.0};
483+
double m_addr_token_bucket{1.0};
484484
/** When m_addr_token_bucket was last updated */
485-
std::chrono::microseconds m_addr_token_timestamp GUARDED_BY(NetEventsInterface::g_msgproc_mutex){GetTime<std::chrono::microseconds>()};
485+
std::chrono::microseconds m_addr_token_timestamp{GetTime<std::chrono::microseconds>()};
486486
/** Total number of addresses that were dropped due to rate limiting. */
487487
std::atomic<uint64_t> m_addr_rate_limited{0};
488488
/** Total number of addresses that were processed (excludes rate-limited ones). */

0 commit comments

Comments
 (0)