refactor: Remove negative lock annotations from globals

This commit is contained in:
MarcoFalke
2021-04-04 19:55:44 +02:00
parent ad4bf8a945
commit fa5eabe721
6 changed files with 8 additions and 8 deletions

View File

@@ -109,7 +109,7 @@ public:
/// sync once and only needs to process blocks in the ValidationInterface
/// queue. If the index is catching up from far behind, this method does
/// not block and immediately returns false.
bool BlockUntilSyncedToCurrentChain() const;
bool BlockUntilSyncedToCurrentChain() const LOCKS_EXCLUDED(::cs_main);
void Interrupt();