validation: Add missing mempool locks

This commit is contained in:
MarcoFalke
2018-12-22 16:33:54 +01:00
parent fa0c9dbf91
commit fabeb1f613
5 changed files with 26 additions and 34 deletions

View File

@@ -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);