From 68a7d4b42e2c1befec527e4cea2ed8707b73f34d Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 7 Apr 2016 03:01:40 -0500 Subject: [PATCH] test --- iguana/iguana_bundles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 836a1a71c..d64bb5044 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -486,7 +486,7 @@ int32_t iguana_blocksmissing(struct iguana_info *coin,int32_t *nonzp,uint8_t mis } if ( (block= iguana_bundleblock(coin,&hash2,bp,i)) != 0 ) { - if ( block->fpipbits != 0 )//block->txvalid != 0 && block->fpos >= 0 && && block->RO.recvlen != 0 && (bp->bundleheight+i == 0 || bits256_nonz(block->RO.prev_block) != 0) ) + if ( block->fpipbits != 0 && block->txvalid != 0 && block->fpos >= 0 && block->RO.recvlen != 0 && (bp->bundleheight+i == 0 || bits256_nonz(block->RO.prev_block) != 0) ) { //printf("[%d:%d].have ",bp->hdrsi,i); continue; @@ -780,7 +780,7 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp,int { //if ( bp->minrequests == 0 || (block->numrequests > 0 && block->numrequests < bp->minrequests) ) // bp->minrequests = block->numrequests; - if ( block->fpipbits != 0 )//&& block->txvalid != 0 && block->fpos >= 0 && (bp->bundleheight+bundlei == 0 || bits256_nonz(block->RO.prev_block) != 0) ) + if ( block->fpipbits != 0 && block->txvalid != 0 && block->fpos >= 0 && (bp->bundleheight+bundlei == 0 || bits256_nonz(block->RO.prev_block) != 0) ) numsaved++; if ( block->RO.recvlen != 0 ) {