This commit is contained in:
jl777
2017-03-24 02:45:32 +02:00
parent 4ba649d62d
commit f25914ebf5

View File

@@ -718,7 +718,7 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32
//locktime = komodo_interest_args(&prevblocktime,&txheight,&tiptime,&value,tx.GetHash(),0);
LOCK(cs_main);
CTransaction tx; uint256 hashBlock; CBlockIndex *pindex,*previndex;
if ( GetTransaction(hash,tx,hashBlock,true) )
if ( GetTransaction(tx.GetHash(),tx,hashBlock,true) )
{
if ( (pindex= mapBlockIndex[hashBlock]) != 0 )
{