From 23cb1a4e0653f0f6922a8c95c059ad08cdd04a51 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 21 Sep 2016 09:33:24 -0300 Subject: [PATCH] test --- iguana/iguana_spendvectors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_spendvectors.c b/iguana/iguana_spendvectors.c index dbf89c9dc..96f65d67a 100755 --- a/iguana/iguana_spendvectors.c +++ b/iguana/iguana_spendvectors.c @@ -635,12 +635,12 @@ int32_t iguana_volatilesinit(struct supernet_info *myinfo,struct iguana_info *co } } printf("i.%d volatilesinit\n",i); - /*if ( strcmp("BTC",coin->symbol) == 0 && coin->longestchain > coin->bundlescount*coin->chain->bundlesize-coin->chain->minconfirms ) + if ( (coin->longestchain-coin->chain->minconfirms)/coin->chain->bundlesize >= coin->bundlescount ) { printf("SKIP checking volatile files %d > %d\n",coin->longestchain,coin->bundlescount*coin->chain->bundlesize-coin->chain->minconfirms); iguana_bundlestats(myinfo,coin,buf,IGUANA_DEFAULTLAG); return(coin->bundlescount); - }*/ + } /*if ( i < coin->balanceswritten-1 ) { printf("TRUNCATE balances written.%d -> %d\n",coin->balanceswritten,i);