From 80bff86467ea7f3c3ecd5236fbe2ba017f7b3d17 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 3 Nov 2016 12:29:25 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index a3d7c4cec..bbb26a5e2 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1921,9 +1921,8 @@ 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 ) + if ( (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;