Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
3eb494dea3
  1. 3
      iguana/iguana_ramchain.c
  2. 2
      iguana/iguana_unspents.c

3
iguana/iguana_ramchain.c

@ -2481,8 +2481,7 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str
if ( bundlei != endi+1 )
{
iguana_bundlemapfree(coin,0,0,ipbits,ptrs,filesizes,num,R,starti,endi);
if ( (block= bp->blocks[bundlei]) != 0 )
iguana_blockunmark(coin,block,bp,bundlei,1);
iguana_blockunmark(coin,bp->blocks[bundlei],bp,bundlei,1);
printf("error mapping hdrsi.%d bundlei.%d\n",bp->hdrsi,bundlei);
return(-1);
}

2
iguana/iguana_unspents.c

@ -1748,7 +1748,7 @@ void *iguana_ramchainfile(struct iguana_info *coin,struct iguana_ramchain *dest,
printf("mapped.%s\n",bits256_str(str,R->H.data->firsthash2));
} else return(ptr);
iguana_blockunmark(coin,block,bp,bundlei,1);
} else printf("ramchainfile ptr.%p block.%p mapchaininit error\n",ptr,block);
}
iguana_ramchain_free(coin,R,1);
} //else printf("ramchainfile ptr.%p block.%p\n",ptr,block);
return(0);

Loading…
Cancel
Save