This commit is contained in:
jl777
2017-03-24 02:54:30 +02:00
parent 01efddaecf
commit e8950acaa7

View File

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