@ -451,6 +451,8 @@ void iguana_coinloop(void *arg)
iguana_bundlestats(coin,str);
//fprintf(stderr,"call process\n");
flag += iguana_processrecv(coin);
if ( coin->longestchain+10000 > coin->blocks.maxbits )
iguana_recvalloc(coin,coin->longestchain + 100000);
}
@ -578,7 +578,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
for (r=starti; r<coin->bundlescount; r++)
iguana_bundlekick(coin,coin->bundles[r],r,coin->bundles[r]->n);
else
else if ( 0 )
{
r = (rand() % 7);
if ( starti+r < coin->bundlescount && coin->bundles[starti+r] != 0 )