From 8e06490f1d7a88cb5d72687980c77ae42a818dfa Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 30 Mar 2016 06:43:42 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 82ca26105..6895345f7 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -874,8 +874,9 @@ int32_t iguana_bundlemissings(struct iguana_info *coin,struct iguana_bundle *bp, lag = 3; if ( bp->numissued < bp->n ) max = bp->numissued; - else return(0);//max = bp->n;//origmissings; - if ( bp->missingstime == 0 || bp->numissued < bp->n || missing < (max >> 3) || time(NULL) > bp->missingstime+lag ) //bp == coin->current || + else if ( bp != coin->current ) + return(0);//max = bp->n;//origmissings; + if ( bp->missingstime == 0 || bp == coin->current || bp->numissued < bp->n || missing < (max >> 3) || time(NULL) > bp->missingstime+lag ) // { if ( (n= iguana_bundlerequests(coin,missings,&bp->origmissings,&tmp,bp,lag)) > 0 ) {