From 7d23b323cc8256099712fa1bee867b6fcc56de38 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 28 Mar 2016 05:33:51 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 820de0595..6b6676206 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -815,8 +815,11 @@ int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp) } #endif for (i=0; ihdrsi; i++) - if ( (prevbp= coin->bundles[i]) == 0 || prevbp->emitfinish < coin->startutc || (i < bp->hdrsi-8 && prevbp->utxofinish <= 1) - ) + if ( (prevbp= coin->bundles[i]) == 0 || prevbp->emitfinish < coin->startutc +#ifdef IGUANA_SERIALIZE_SPENDVECTORGEN + || (i < bp->hdrsi-8 && prevbp->utxofinish <= 1 ) +#endif + ) break; //printf("i.%d hdrsi.%d busy.%d helpers.%d\n",i,bp->hdrsi,coin->emitbusy,IGUANA_NUMHELPERS); if ( i == bp->hdrsi && coin->emitbusy < (IGUANA_NUMHELPERS/3) )