This commit is contained in:
jl777
2018-07-09 08:57:16 -11:00
parent 7c28c718f0
commit bf915dce10

View File

@@ -1125,13 +1125,13 @@ int32_t komodo_segids(uint8_t *hashbuf,int32_t height,int32_t n)
for (i=0; i<n; i++) for (i=0; i<n; i++)
{ {
hashbuf[i] = (uint8_t)komodo_segid(height+i); hashbuf[i] = (uint8_t)komodo_segid(height+i);
fprintf(stderr,"%02x ",hashbuf[i]); //fprintf(stderr,"%02x ",hashbuf[i]);
} }
if ( n == 100 ) if ( n == 100 )
{ {
memcpy(prevhashbuf,hashbuf,100); memcpy(prevhashbuf,hashbuf,100);
prevheight = height; prevheight = height;
fprintf(stderr,"segids.%d\n",height); //fprintf(stderr,"segids.%d\n",height);
} }
} }
} }