From 46f639d98e7112c4439cad25537e716e59410dcd Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Jul 2018 20:03:02 -1100 Subject: [PATCH] Test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index c5a548072..76f20cbb0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1607,7 +1607,7 @@ bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlo { // need a GetTransaction without lock so the validation code for assets can run without deadlock { - READLOCK(mempool.cs); + LOCK(mempool.cs); fprintf(stderr,"check mempool\n"); if (mempool.lookup(hash, txOut)) {