This commit is contained in:
jl777
2017-03-24 05:45:13 +02:00
parent e6528c640c
commit 3afed2e718

View File

@@ -729,11 +729,11 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32
}
if ( prevblocktime != 0 )
cmptime = prevblocktime + 600;
else
else if ( txheight > 246748 )
{
//fprintf(stderr,"couldnt get cmptime for [%d] t%u\n",txheight,prevblocktime);
return(-1);
}
} else return(0);
/* uint32_t prevblocktime=0,cmptime=0,txheighttime=0,tiptime=0,locktime=0;
prevblocktime = 0;
locktime = komodo_interest_args(&txheighttime,&txheight,&tiptime,&value,tx.GetHash(),0);