From 91b08aee9be77d9f244cd69bf519ec5e44128562 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 3 Nov 2016 15:35:20 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 93901d118..f3542b055 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1965,12 +1965,11 @@ long iguana_ramchain_data(struct supernet_info *myinfo,struct iguana_info *coin, printf("ramchain_save error writing header.%s\n",fname); fpos = -1; } - uint64_t offset = sizeof(struct iguana_ramchaindata); fpos = (int32_t)ftell(fp); - fwrite(B,1,sizeof(*B),fp); + /*fwrite(B,1,sizeof(*B),fp); fwrite(T,rdata->numtxids,sizeof(*T),fp); fwrite(U,rdata->numunspents,sizeof(*U),fp); - fwrite(S,rdata->numspends,sizeof(*S),fp); + fwrite(S,rdata->numspends,sizeof(*S),fp);*/ fclose(fp); //printf("offset.%d vs allocsize.%d\n",(int32_t)offset,(int32_t)rdata->allocsize); origtxdata->datalen = (int32_t)rdata->allocsize;