From 9fb3789bd33ca6e9996e38b6884dd49ff94ac980 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 23 Mar 2016 23:08:50 -0300 Subject: [PATCH] test --- iguana/iguana_unspents.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 58d874432..ef6926bb7 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -319,12 +319,6 @@ int32_t iguana_utxogen(struct iguana_info *coin,struct iguana_bundle *bp) for (spendind=ramchain->H.data->firsti; spendindbundleheight + numtxid; - //printf("height.%d firstvin.%d\n",height,nextT[numtxid].firstvin); - numtxid++; - } u = 0; if ( (spendind & 0xff) == 1 ) now = (uint32_t)time(NULL); @@ -365,6 +359,12 @@ int32_t iguana_utxogen(struct iguana_info *coin,struct iguana_bundle *bp) break; } } + if ( spendind == nextT[numtxid].firstvin ) + { + height = bp->bundleheight++; + //printf("height.%d firstvin.%d\n",height,nextT[numtxid].firstvin); + numtxid++; + } } if ( numtxid != bp->ramchain.H.data->numtxids ) {