diff options
| author | practicalswift <[email protected]> | 2018-08-26 00:56:09 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-08-26 11:15:17 +0200 |
| commit | 9e2de6b9d0013ed871efbc414d2a23e3bb56c38e (patch) | |
| tree | 73c97451fcf4fc4d0abcce8a3b7f3a64e759c6f1 /src/txmempool.cpp | |
| parent | Merge #13083: Add compile time checking for cs_main runtime locking assertions (diff) | |
| download | discoin-9e2de6b9d0013ed871efbc414d2a23e3bb56c38e.tar.xz discoin-9e2de6b9d0013ed871efbc414d2a23e3bb56c38e.zip | |
Move cs_main locking annotations from .cpp to .h
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 8285fd0c4..8bada4dce 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -497,7 +497,7 @@ void CTxMemPool::removeRecursive(const CTransaction &origTx, MemPoolRemovalReaso } } -void CTxMemPool::removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags) EXCLUSIVE_LOCKS_REQUIRED(cs_main) +void CTxMemPool::removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags) { // Remove transactions spending a coinbase which are now immature and no-longer-final transactions LOCK(cs); |