diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 43a6b3a99..a1bf013ef 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -670,7 +670,7 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf iguana_bundleblock(coin,&hash2,bp,i); if ( bits256_nonz(hash2) != 0 ) { - if ( (addr= coin->peers->ranked[rand() % max]) != 0 && addr->usock >= 0 && addr->dead == 0 ) //strcmp("BTC",coin->symbol) != 0 || (bp->issued[i] > 1 && now > bp->issued[i]+lag && + if ( (addr= coin->peers->ranked[rand() % max]) != 0 && addr->usock >= 0 && addr->dead == 0 && addr->msgcounts.verack > 0 ) { iguana_sendblockreqPT(coin,0,bp,i,hash2,0); } @@ -695,7 +695,7 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf iguana_bundleblock(coin,&hash2,bp,firsti); if ( bits256_nonz(hash2) != 0 ) { - if ( (addr= coin->peers->ranked[rand() % max]) != 0 && addr->usock >= 0 && addr->dead == 0 ) + if ( (addr= coin->peers->ranked[rand() % max]) != 0 && addr->usock >= 0 && addr->dead == 0 && addr->msgcounts.verack > 0 ) { //if ( bp == coin->current ) // printf("iguana_bundleissuemissing.[%d:%d]\n",bp->hdrsi,i);