diff options
| author | practicalswift <[email protected]> | 2018-10-10 11:28:43 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-10-10 11:28:43 +0200 |
| commit | 00899053612d389b34470be832bc0cb73d545a33 (patch) | |
| tree | a5e4d1af5ebd30b83aade5ba2db7c21f1abb18b0 /src/index/base.cpp | |
| parent | Merge #14373: Consistency fixes for RPC descriptions (diff) | |
| download | discoin-00899053612d389b34470be832bc0cb73d545a33.tar.xz discoin-00899053612d389b34470be832bc0cb73d545a33.zip | |
Add compile time checking for cs_main locks which we assert at run time
Diffstat (limited to 'src/index/base.cpp')
| -rw-r--r-- | src/index/base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/base.cpp b/src/index/base.cpp index 788f7adcc..42c6b0373 100644 --- a/src/index/base.cpp +++ b/src/index/base.cpp @@ -65,7 +65,7 @@ bool BaseIndex::Init() return true; } -static const CBlockIndex* NextSyncBlock(const CBlockIndex* pindex_prev) +static const CBlockIndex* NextSyncBlock(const CBlockIndex* pindex_prev) EXCLUSIVE_LOCKS_REQUIRED(cs_main) { AssertLockHeld(cs_main); |