diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index f8130576c..68d8df775 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -549,10 +549,9 @@ int32_t iguana_bundleissuemissing(struct iguana_info *coin,struct iguana_bundle } } } - if ( firsti >= 0 ) //firsti == lasti && + if ( firsti >= 0 && firsti == lasti ) { - if( bp == coin->current ) - printf("[%d] first missing.%d of %d\n",bp->hdrsi,firsti,nonz); + printf("[%d] first missing.%d of %d\n",bp->hdrsi,firsti,nonz); iguana_bundleblock(coin,&hash2,bp,firsti); if ( bits256_nonz(hash2) != 0 ) {