aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-12-22 16:33:54 +0100
committerMarcoFalke <falke.marco@gmail.com>2019-06-07 11:07:09 +0200
commitfabeb1f613653a8c1560e4a093a9b6b7a069b60b (patch)
treed4cebfd9246f3ab39199cb6de9f6834f4484ff7c /src/rpc
parentfa0c9dbf9156d64a4b9bff858da97825369a9134 (diff)
validation: Add missing mempool locks
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/mining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index ba5e0cdf64..86b0845738 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -469,7 +469,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
nTransactionsUpdatedLastLP = nTransactionsUpdatedLast;
}
- // Release the wallet and main lock while waiting
+ // Release lock while waiting
LEAVE_CRITICAL_SECTION(cs_main);
{
checktxtime = std::chrono::steady_clock::now() + std::chrono::minutes(1);