diff --git a/src/txmempool.h b/src/txmempool.h index d7b7de6e3b7..d172c78e860 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -257,7 +257,7 @@ public: * changing the chain tip. It's necessary to keep both mutexes locked until * the mempool is consistent with the new chain tip and fully populated. */ - mutable RecursiveMutex cs; + mutable RecursiveMutex cs ACQUIRED_AFTER(::cs_main); std::unique_ptr m_txgraph GUARDED_BY(cs); mutable std::unique_ptr m_builder GUARDED_BY(cs); indexed_transaction_set mapTx GUARDED_BY(cs);