From c1b1c03d583bd8006abf54e401ce250f1d3d3940 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 09:33:26 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index da2970eb4..caf0afc83 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -708,14 +708,13 @@ void iguana_helper(void *arg) { for (j=helperid; jbundlescount; j+=IGUANA_NUMHELPERS) { - if ( (bp= coin->bundles[j]) != 0 && bp->startutxo == 0 && bp->numsaved >= coin->chain->bundlesize && iguana_bundleready(myinfo,coin,bp,0) == bp->n ) + if ( (bp= coin->bundles[j]) != 0 ) { - //printf("finalize.[%d]\n",bp->hdrsi); - if ( iguana_bundlefinalize(myinfo,coin,bp,&MEM,MEMB) > 0 ) - continue; + if ( bp->startutxo == 0 && bp->numsaved >= coin->chain->bundlesize && iguana_bundleready(myinfo,coin,bp,0) == bp->n ) + iguana_bundlefinalize(myinfo,coin,bp,&MEM,MEMB); + if ( bp->utxofinish != 0 && bp->validated == 0 ) + iguana_bundlevalidate(myinfo,coin,bp,1); } - if ( bp != 0 && bp->utxofinish != 0 && bp->validated == 0 ) - iguana_bundlevalidate(myinfo,coin,bp,1); } } }