aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-08-13 13:24:52 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-08-26 00:25:28 +0200
commit9e0a514112df4f2b85abf09885a8e7898b4c09ae (patch)
tree00a106e11f992cf2d0af96ed6dff415466f8c788 /src/txmempool.cpp
parentf6eb85d17c6f8ed1fe043168e90d4830ab4745c3 (diff)
Add compile time checking for all cs_main runtime locking assertions
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 8bada4dce8..8285fd0c41 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)
+void CTxMemPool::removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight, int flags) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
{
// Remove transactions spending a coinbase which are now immature and no-longer-final transactions
LOCK(cs);