Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
7b13ad51c8
  1. 2
      iguana/iguana_ramchain.c

2
iguana/iguana_ramchain.c

@ -1304,7 +1304,7 @@ int64_t iguana_ramchain_init(struct iguana_ramchain *ramchain,struct OS_memspace
printf("offset.%ld scriptspace.%d allocsize.%ld vs memsize.%ld\n",(long)offset,scriptspace,(long)rdata->allocsize,(long)iguana_ramchain_size(RAMCHAIN_ARG,numblocks,scriptspace)); printf("offset.%ld scriptspace.%d allocsize.%ld vs memsize.%ld\n",(long)offset,scriptspace,(long)rdata->allocsize,(long)iguana_ramchain_size(RAMCHAIN_ARG,numblocks,scriptspace));
exit(-1); exit(-1);
} }
if ( offset < mem->totalsize ) if ( offset <= mem->totalsize )
iguana_memreset(mem); iguana_memreset(mem);
else else
{ {

Loading…
Cancel
Save