This commit is contained in:
jl777
2018-07-22 12:09:24 -11:00
parent e2beb0504e
commit f75227208f

View File

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