diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 19b94dff9..2c2a0e985 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -39,7 +39,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_MAXPENDHDRS 1 #define _IGUANA_MAXPENDING 3 #define IGUANA_MINPENDBUNDLES 64 -#define IGUANA_MAXPENDBUNDLES 64 +#define IGUANA_MAXPENDBUNDLES 128 #define IGUANA_BUNDLELOOP 3 #define IGUANA_RPCPORT 7778 #define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 2d1a05ba8..a6bc9ded5 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -455,7 +455,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int for (i=0; i 0 && (addr= coin->peers.ranked[j]) != 0 ) + if ( donecounts[j] > 0 && (addr= coin->peers.ranked[j]) != 0 ) { //printf("send to addr[%d]\n",j); oldest->issued = (uint32_t)time(NULL);