From e6eaa97e520a43a7b1cdbc2e91333783afd9c2dc Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 12 Jan 2016 23:13:53 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 1e65e5715..f3baea891 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -439,7 +439,7 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp) bp->emitfinish = 1; iguana_emitQ(coin,bp); } - else if ( bp->hdrsi >= coin->bundlescount-1 ) + else if ( bp->hdrsi >= coin->bundlescount-3 ) bp->metric = 1; else bp->metric = (bp->hdrsi + 1);//(2*bp->n - bp->numsaved - bp->numrecv);//sqrt((sqrt(fabs(bp->estsize - bp->datasize)) * (bp->n - bp->numsaved)) * (bp->hdrsi + 1)); }