diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 03e61646a..04c41005e 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -706,7 +706,7 @@ void iguana_helper(void *arg) allcurrent = 0; //printf("h.%d [%d] bundleQ size.%d lag.%ld\n",helperid,bp->hdrsi,queue_size(&bundlesQ),time(NULL) - bp->nexttime); coin->numbundlesQ--; - if ( coin->started != 0 && time(NULL) >= bp->nexttime && coin->active != 0 ) + if ( coin->started != 0 && time(NULL) > bp->nexttime && coin->active != 0 ) { flag += iguana_bundleiters(myinfo,ptr->coin,&MEM,MEMB,bp,ptr->timelimit,IGUANA_DEFAULTLAG); } diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index b6d44e0e9..6b4006e1e 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -1383,7 +1383,7 @@ void iguana_bundlestats(struct supernet_info *myinfo,struct iguana_info *coin,ch } else { - if ( firstgap == 0 && bp->queued == 0 ) + if ( firstgap == 0 && bp->queued == 0 && bp->numsaved < bp->n ) iguana_bundleQ(myinfo,coin,bp,1000); if ( firstgap == 0 && bp->numsaved < bp->n && bp->numcached < bp->n && (bp->ramchain.H.data == 0 || bp->hdrsi == coin->longestchain/coin->chain->bundlesize || iguana_bundleready(myinfo,coin,bp,bp->numsaved == bp->n) != bp->n) ) {