From 5315332cd2b91a9005906307260975445cf87e1b Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 11 Jun 2016 22:49:07 -0300 Subject: [PATCH] test --- iguana/iguana_realtime.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index f09a0ce70..4bbde39e0 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -219,13 +219,6 @@ int32_t iguana_realtime_update(struct iguana_info *coin) } else printf("RT edge case.%d\n",block->height); } - if ( coin->spendvectorsaved <= 1 ) - { - //usleep(10000); - printf("spendvectorsaved not yet\n"); - sleep(1); - return(0); - } for (i=0; ibundlescount-1; i++) { if ( (bp= coin->bundles[i]) != 0 && (i > 0 && bp->utxofinish == 0) && bp != coin->current ) @@ -238,6 +231,13 @@ int32_t iguana_realtime_update(struct iguana_info *coin) coin->spendvectorsaved = 1; } } + if ( coin->spendvectorsaved <= 1 ) + { + //usleep(10000); + printf("spendvectorsaved not yet\n"); + sleep(1); + return(0); + } bp = coin->current; if ( bp == 0 || iguana_validated(coin) < bp->hdrsi ) {