From d836d2366d5a09265341d69844b510d4453f19d1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 11 Jul 2016 11:32:17 -0300 Subject: [PATCH] test --- basilisk/basilisk.c | 2 +- iguana/iguana_volatiles.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 1a0cad95a..dbf0b56db 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -778,7 +778,7 @@ void basilisks_loop(void *arg) { if ( pending != 0 && (pending->finished != 0 || OS_milliseconds() > pending->expiration+60000) ) { - printf("enable free for HASH_DELETE.(%p)\n",pending); + //printf("enable free for HASH_DELETE.(%p)\n",pending); HASH_DELETE(hh,myinfo->basilisks.issued,pending); memset(pending,0,sizeof(*pending)); free(pending); diff --git a/iguana/iguana_volatiles.c b/iguana/iguana_volatiles.c index f58499255..7855cb1e6 100755 --- a/iguana/iguana_volatiles.c +++ b/iguana/iguana_volatiles.c @@ -218,9 +218,9 @@ int32_t iguana_volatileupdate(struct iguana_info *coin,int32_t incremental,struc } if ( coin->current != 0 && spent_hdrsi != coin->current->hdrsi ) iguana_bundleremove(coin,spent_hdrsi,0); - coin->spendvectorsaved = 0; - coin->started = 0; - coin->active = 0; + //coin->spendvectorsaved = 0; + //coin->started = 0; + //coin->active = 0; } else if ( coin->spendvectorsaved > 1 ) printf("volatileupdate skip null rdata [%d]\n",spentchain->height/coin->current->bundleheight);