diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 0cb49eed3..baf61d803 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -499,7 +499,10 @@ void iguana_bundlestats(struct iguana_info *coin,char *str) if ( (addr= coin->peers.ranked[i]) != 0 ) pend += addr->pendblocks; } - origissue = issue = (_IGUANA_MAXPENDING*coin->peers.numranked - pend); + origissue = (_IGUANA_MAXPENDING*coin->peers.numranked - pend); + if ( origissue < 8 ) + origissue = 8; + issue = origissue; while ( issue > 0 ) { now = (uint32_t)time(NULL); diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 25bfcb761..155557d7e 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -435,6 +435,7 @@ struct iguana_bundlereq *iguana_recvblockhashes(struct iguana_info *coin,struct for (i=coin->chain->bundlesize*0; i= coin->chain->bundlesize && (i % coin->chain->bundlesize) < 2 ) + if ( bits256_nonz(blockhashes[i]) > 0 ) iguana_blockQ(coin,0,-1,blockhashes[i],0); } }