diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-08-26 00:56:09 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-08-26 11:15:17 +0200 |
commit | 9e2de6b9d0013ed871efbc414d2a23e3bb56c38e (patch) | |
tree | 73c97451fcf4fc4d0abcce8a3b7f3a64e759c6f1 /src/txmempool.cpp | |
parent | 91186e59844d6028d689f146d5d58c5e7fc95d58 (diff) |
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 8285fd0c41..8bada4dce8 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); |