From e22bc0046e68d8516f11b0de8f05a911191422db Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 16 Apr 2016 04:28:23 -0500 Subject: [PATCH] test --- iguana/iguana777.c | 2 +- iguana/iguana_unspents.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 184b1e8e9..95017d3b3 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -410,7 +410,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert printf("helperid.%d convertfinished.%d vs max %d bundlescount.%d\n",helperid,n,max,coin->bundlescount); sleep(3); } - if ( convertflag != 0 || iguana_spendvectorsaves(coin) == 0 ) + if ( convertflag == 0 || iguana_spendvectorsaves(coin) == 0 ) { if ( coin->origbalanceswritten <= 1 ) hdrsi = 0; diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 12d623509..cf8340c4c 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -1101,8 +1101,7 @@ int32_t iguana_balancegen(struct iguana_info *coin,int32_t incremental,struct ig if ( ramchain->Xspendinds == 0 && bp->hdrsi > 0 ) { printf("iguana_balancegen.%d: no Xspendinds[%d]\n",bp->hdrsi,ramchain->numXspends); - if ( iguana_Xspendmap(coin,ramchain,bp) < 0 ) - return(-1); + return(-1); } iguana_ramchain_prefetch(coin,ramchain,0); fprintf(stderr,"BALANCEGEN.[%d] ",bp->hdrsi);