Test
This commit is contained in:
@@ -600,7 +600,7 @@ CBlockIndex *komodo_chainactive(int32_t height)
|
||||
{
|
||||
if ( height <= chainActive.Tip()->nHeight )
|
||||
return(chainActive[height]);
|
||||
else fprintf(stderr,"komodo_chainactive height %d > active.%d\n",height,chainActive.Tip()->nHeight);
|
||||
// else fprintf(stderr,"komodo_chainactive height %d > active.%d\n",height,chainActive.Tip()->nHeight);
|
||||
}
|
||||
//fprintf(stderr,"komodo_chainactive null chainActive.Tip() height %d\n",height);
|
||||
return(0);
|
||||
|
||||
@@ -731,7 +731,7 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32
|
||||
cmptime = prevblocktime + 600;
|
||||
else
|
||||
{
|
||||
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);
|
||||
}
|
||||
/* uint32_t prevblocktime=0,cmptime=0,txheighttime=0,tiptime=0,locktime=0;
|
||||
|
||||
Reference in New Issue
Block a user