From 92479be1d8540d43189f1d118815874f79dba0fe Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 13 Jan 2016 16:00:56 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 2 +- iguana/iguana_bundles.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 820f55ad2..03d5ee881 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -415,7 +415,7 @@ void iguana_coinloop(void *arg) if ( flag == 0 ) { //printf("IDLE\n"); - usleep(coin->polltimeout * 10000); + usleep(coin->polltimeout * 1000); } } } diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 64960b995..98bb154e5 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -580,7 +580,7 @@ void iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int32_ { if ( (block= bp->blocks[i]) != 0 ) { - if ( block->queued == 0 && block->fpipbits == 0 && bp->issued[i] == 0 ) + if ( block->fpipbits == 0 && ((block->queued == 0 && bp->issued[i] == 0) || now > bp->issued[i]+1) ) { //printf("(%d:%d) ",bp->hdrsi,i); iguana_blockQ(coin,bp,i,block->RO.hash2,bp->numsaved > bp->n-10);