This commit is contained in:
jl777
2017-03-24 02:44:30 +02:00
parent 044a7b96eb
commit 4ba649d62d

View File

@@ -723,7 +723,7 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32
if ( (pindex= mapBlockIndex[hashBlock]) != 0 )
{
txheight = pindex->nHeight;
if ( (previndex= mapBlockIndex[pindex->hashPrevBlock]) != 0 )
if ( (previndex= pindex->pprev) != 0 )
prevblocktime = previndex->nTime;
}
}