From f75227208fba63a6007fc788adba69bdbb7186bc Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Jul 2018 12:09:24 -1100 Subject: [PATCH] Test --- src/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ba887ff23..913807ba9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1605,13 +1605,14 @@ bool GetAddressUnspent(uint160 addressHash, int type, bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlock) { - fprintf(stderr,"check mempool\n"); + // need a GetTransaction without lock so the validation code for assets can run without deadlock + //fprintf(stderr,"check mempool\n"); if (mempool.lookup(hash, txOut)) { - fprintf(stderr,"found in mempool\n"); + //fprintf(stderr,"found in mempool\n"); return true; } - fprintf(stderr,"check disk\n"); + //fprintf(stderr,"check disk\n"); if (fTxIndex) { CDiskTxPos postx;