From facc3e62c170cdf41386d0198f2ef8b5dd70f4c6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Jul 2018 20:00:10 -1100 Subject: [PATCH] Test --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e4d060fe0..c5a548072 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) + READLOCK(mempool.cs); fprintf(stderr,"check mempool\n"); if (mempool.lookup(hash, txOut)) { @@ -4116,7 +4116,7 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C REJECT_INVALID, "bad-cb-multiple"); // Check transactions - if ( ASSETCHAINS_CC != 0 ) // CC contracts might refer to transactions in the current block, from a CC spend within the same block and out of order + if ( 0 && ASSETCHAINS_CC != 0 ) // CC contracts might refer to transactions in the current block, from a CC spend within the same block and out of order { CValidationState stateDummy; for (int i = 0; i < block.vtx.size(); i++)