aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-04-25 22:57:18 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-05-05 08:11:05 +0200
commitcbba1d2da42a9c813c50ea3b3c13ec9a518bc147 (patch)
tree37a7f16a114cde0d2fc65dafa5afa72deafb957e /src/rpc/blockchain.cpp
parentf82e1c94821212cc8962775a7a29599ebd92eee0 (diff)
Add compile time checking for all ::mempool.cs runtime locking assertions
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index a50840950f..a2d8ce1557 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -383,7 +383,7 @@ static std::string EntryDescriptionString()
" ... ]\n";
}
-static void entryToJSON(UniValue &info, const CTxMemPoolEntry &e)
+static void entryToJSON(UniValue &info, const CTxMemPoolEntry &e) EXCLUSIVE_LOCKS_REQUIRED(::mempool.cs)
{
AssertLockHeld(mempool.cs);