Skip to content

Commit

Permalink
fix: add missing cs_main annotation for ForceSignalDBUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
knst committed Dec 2, 2024
1 parent 05041a4 commit 4629bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evo/mnhftx.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class CMNHFManager : public AbstractEHFManager
*/
void DisconnectManagers() { m_chainman = nullptr; m_qman = nullptr; };

bool ForceSignalDBUpdate();
bool ForceSignalDBUpdate() EXCLUSIVE_LOCKS_REQUIRED(cs_main);

private:
void AddToCache(const Signals& signals, const CBlockIndex* const pindex);
Expand Down

0 comments on commit 4629bb9

Please sign in to comment.