From 3ac0e1425cc82f0b7c631810861f4f85195ee0fb Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 23 Mar 2016 01:43:46 -0300 Subject: [PATCH] test --- iguana/iguana_unspents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);