From cbba1d2da42a9c813c50ea3b3c13ec9a518bc147 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 25 Apr 2018 22:57:18 +0200 Subject: Add compile time checking for all ::mempool.cs runtime locking assertions --- src/rpc/blockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc/blockchain.cpp') 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); -- cgit v1.2.3