mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
refactor: Add missing GUARDED_BY(m_tip_block_mutex)
Found by Cory Fields in https://github.com/bitcoin/bitcoin/pull/30409#discussion_r1774001261
This commit is contained in:
parent
fa4c075033
commit
fa18586c29
2 changed files with 12 additions and 8 deletions
|
|
@ -60,7 +60,7 @@ public:
|
|||
Mutex m_tip_block_mutex;
|
||||
std::condition_variable m_tip_block_cv;
|
||||
//! The block for which the last blockTip notification was received for.
|
||||
uint256 m_tip_block;
|
||||
uint256 m_tip_block GUARDED_BY(m_tip_block_mutex);
|
||||
|
||||
private:
|
||||
util::SignalInterrupt& m_shutdown;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue