From ea4751cd11432587fc11d454e82f2c3f04e99c5d Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 3 Nov 2016 13:52:53 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 478df1955..a6fbe9588 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1921,9 +1921,9 @@ long iguana_ramchain_data(struct supernet_info *myinfo,struct iguana_info *coin, *B = RO; rdata->scriptspace = ramchain->H.scriptoffset = scriptspace; rdata->stackspace = ramchain->H.stacksize = stackspace; - if ( 1 || (fpos= (int32_t)iguana_ramchain_save(coin,RAMCHAIN_ARG,(uint32_t)addr->ipbits,RO.hash2,RO.prev_block,bundlei,0,zcash)) >= 0 ) +fpos = 0; + if ( 0 && (fpos= (int32_t)iguana_ramchain_save(coin,RAMCHAIN_ARG,(uint32_t)addr->ipbits,RO.hash2,RO.prev_block,bundlei,0,zcash)) >= 0 ) { -fpos= 0; origtxdata->datalen = (int32_t)rdata->allocsize; //char str[65]; printf("saved.%s [%d:%d] fpos.%d datalen.%d\n",bits256_str(str,block->RO.hash2),bp->hdrsi,bundlei,fpos,origtxdata->datalen); ramchain->H.ROflag = 0; @@ -1951,7 +1951,7 @@ fpos= 0; } if ( block != 0 && fpos >= 0 ) block->fpos = fpos, block->fpipbits = (uint32_t)addr->ipbits; - } else printf("save error\n"); + } //else printf("save error\n"); } else {