From faac6f6573328590fd851661f322aeb0d0bb72f8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 7 Apr 2016 17:56:43 -0500 Subject: [PATCH] test --- iguana/iguana_bundles.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ) {