From f25d9026290b80aaa0da4eb519502bb9d1fa8a91 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 17 Apr 2016 22:35:21 -0500 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 44d3ff4c4..b57b5d8e8 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -645,7 +645,7 @@ void *iguana_ramchain_offset(char *fname,void *dest,uint8_t *lhash,FILE *fp,uint startfpos = ftell(fp); if ( (err= fwrite(srcptr,1,len,fp)) != len ) { -#ifdef __PNACL__ +/*#ifdef __PNACL__ int32_t i,numretries = 5; for (i=0; iH.scriptoffset = scriptoffset; ramchain->H.data->scriptspace = scriptoffset; ramchain->H.stacksize = ramchain->H.data->stackspace = stacksize; - if ( iguana_ramchain_save(coin,RAMCHAIN_ARG,0,firsthash2,zero,0,bp) < 0 ) + if ( iguana_ramchain_save(coin,RAMCHAIN_ARG,0,firsthash2,zero,0,bp) < 0 && iguana_ramchain_save(coin,RAMCHAIN_ARG,0,firsthash2,zero,0,bp) < 0 ) { printf("ERROR saving ramchain hdrsi.%d, deleting and will regenerate\n",hdrsi); iguana_mempurge(hashmem);