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