diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index f01a25cf7..55fe1e124 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -219,12 +219,6 @@ int32_t iguana_realtime_update(struct iguana_info *coin) } else printf("RT edge case.%d\n",block->height); } - if ( coin->spendvectorsaved <= 1 ) - { - //printf("spendvectorsaved not yet\n"); - usleep(100000); - return(0); - } for (i=0; ibundlescount-1; i++) { if ( (bp= coin->bundles[i]) != 0 && (i > 0 && bp->utxofinish == 0) && bp != coin->current ) @@ -237,6 +231,12 @@ int32_t iguana_realtime_update(struct iguana_info *coin) coin->spendvectorsaved = 1; } } + if ( coin->spendvectorsaved <= 1 ) + { + //printf("spendvectorsaved not yet\n"); + usleep(100000); + return(0); + } bp = coin->current; if ( bp == 0 || iguana_validated(coin) < bp->hdrsi ) {