Merge 8f3ab9a1b1 into merged_master (Bitcoin PR bitcoin/bitcoin#24931)

This commit is contained in:
James Dorfman 2024-09-09 21:13:17 +00:00
commit c472e94b84
17 changed files with 78 additions and 31 deletions

View file

@ -292,7 +292,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());
};