diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index ddb923ecf..e475d7c1d 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -470,7 +470,7 @@ int32_t iguana_balancegen(struct iguana_info *coin,struct iguana_bundle *bp,int3 now = (uint32_t)time(NULL); if ( spentbp != 0 && unspentind > 0 && unspentind < spentbp->ramchain.H.data->numunspents ) { - if ( spentbp->dirty++ > 100 ) + if ( spentbp->dirty++ == 100 ) { printf("prefetch.[%d]\n",spentbp->hdrsi); iguana_ramchain_prefetch(coin,&spentbp->ramchain);