From bfdb58ddcc22e86053631c05a761346a55b31ab9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 20 Sep 2016 14:57:32 -0300 Subject: [PATCH] test --- iguana/iguana_spendvectors.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iguana/iguana_spendvectors.c b/iguana/iguana_spendvectors.c index fdb3ae475..c99bb2b44 100755 --- a/iguana/iguana_spendvectors.c +++ b/iguana/iguana_spendvectors.c @@ -634,6 +634,11 @@ int32_t iguana_volatilesinit(struct supernet_info *myinfo,struct iguana_info *co from_ro = 0; } } + if ( 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);