diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 7aa1c05241..b81119bdd6 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -291,7 +291,7 @@ struct Peer { return m_tx_relay.get(); }; - TxRelay* GetTxRelay() + TxRelay* GetTxRelay() EXCLUSIVE_LOCKS_REQUIRED(!m_tx_relay_mutex) { return WITH_LOCK(m_tx_relay_mutex, return m_tx_relay.get()); };