From 2437a7d746539e154b994fa1a77ab4cea621952c Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 15 Mar 2016 01:29:30 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index ce671313a..cbbaf25c3 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -473,15 +473,15 @@ void iguana_bundlestats(struct iguana_info *coin,char *str) } else { + if ( ++pending == coin->MAXBUNDLES ) + { + lastpending = bp; + printf("SET MAXBUNDLES.%d pend.%d\n",bp->hdrsi,pending); + } if ( firstgap == 0 ) firstgap = bp; if ( bp->emitfinish == 0 ) { - if ( ++pending == coin->MAXBUNDLES ) - { - lastpending = bp; - printf("SET MAXBUNDLES.%d pend.%d\n",bp->hdrsi,pending); - } spaceused += bp->estsize; sortbuf[m*2] = bp->metric; sortbuf[m*2 + 1] = i;