Skip to content

Commit 0386115

Browse files
committed
fixup: lock annotation for CMasternodeMetaMan::nDsqCount
1 parent 982b68e commit 0386115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/masternode/meta.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class MasternodeMetaStore
9292
mutable Mutex cs;
9393
std::map<uint256, CMasternodeMetaInfo> metaInfos GUARDED_BY(cs);
9494
// keep track of dsq count to prevent masternodes from gaming coinjoin queue
95-
int64_t nDsqCount{0};
95+
int64_t nDsqCount{0} GUARDED_BY(cs);
9696
// keep track of the used Masternodes for CoinJoin across all wallets
9797
// Using deque for efficient FIFO removal and unordered_set for O(1) lookups
9898
std::deque<uint256> m_used_masternodes GUARDED_BY(cs);

0 commit comments

Comments
 (0)