From 90c313d89e356f0edec9c392067384c1f3636564 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 9 Sep 2016 11:26:16 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 3 ++- iguana/iguana_spendvectors.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 6b4006e1e..39fe71ef5 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -1058,7 +1058,8 @@ int32_t iguana_bundlefinalize(struct supernet_info *myinfo,struct iguana_info *c printf("GENESIS block validated\n"); else printf("GENESIS didnt validate bp.%p\n",bp);*/ //if ( strcmp("BTC",coin->symbol) != 0 ) - coin->spendvectorsaved = 0; + coin->RTheight = coin->firstRTheight = 0; + //coin->spendvectorsaved = 0; for (i=bp->hdrsi; ibundlescount; i++) if ( (tmpbp= coin->bundles[i]) != 0 ) tmpbp->converted = tmpbp->balancefinish = tmpbp->validated = 0; diff --git a/iguana/iguana_spendvectors.c b/iguana/iguana_spendvectors.c index 1f6f4dc20..947ec013b 100755 --- a/iguana/iguana_spendvectors.c +++ b/iguana/iguana_spendvectors.c @@ -722,7 +722,6 @@ int32_t iguana_volatilesinit(struct supernet_info *myinfo,struct iguana_info *co iguana_blockzcopy(coin->chain->zcash,(void *)&coin->blocks.hwmchain,block); } } - //printf("end volatilesinit\n"); if ( iguana_fastfindinit(coin) == 0 )//&& coin->PREFETCHLAG >= 0 ) iguana_fastfindcreate(coin); /*for (j=0; jbundlescount; j++) @@ -734,6 +733,7 @@ int32_t iguana_volatilesinit(struct supernet_info *myinfo,struct iguana_info *co iguana_update_balances(coin);*/ iguana_datachain_scan(myinfo,coin,CRYPTO777_RMD160); //iguana_utxoaddr_gen(myinfo,coin,(coin->bundlescount - 1) * coin->chain->bundlesize);*/ + printf("end volatilesinit\n"); return(coin->bundlescount); }