From 227d15dabab1cf8781e4fecdcb69a789f6ab6db1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 6 Apr 2016 20:30:59 -0500 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 6ca2ee138..18556ed68 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -1137,7 +1137,7 @@ void iguana_bundlestats(struct iguana_info *coin,char *str,int32_t lag) } else { - if ( firstgap == 0 && bp->numsaved < bp->n && bp->numcached < bp->n && (iguana_bundleready(coin,bp,0) != bp->n || bp->hdrsi == coin->longestchain/coin->chain->bundlesize) ) + if ( firstgap == 0 && bp->numsaved < bp->n && bp->numcached < bp->n && (bp->ramchain.H.data == 0 || iguana_bundleready(coin,bp,0) != bp->n || bp->hdrsi == coin->longestchain/coin->chain->bundlesize) ) { //printf("firstgap <- [%d] emit.%u bp->n.%d numsaved.%d numcached.%d numhashes.%d\n",bp->hdrsi,bp->emitfinish,bp->n,bp->numsaved,bp->numcached,bp->numhashes); firstgap = bp;