mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 8f3ab9a1b1 into merged_master (Bitcoin PR bitcoin/bitcoin#24931)
This commit is contained in:
commit
c472e94b84
17 changed files with 78 additions and 31 deletions
|
|
@ -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());
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue