From 7b13ad51c82f12b75dac2910ec47f3a18f43862f Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 9 Mar 2016 17:08:45 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 5e03140ec..f03d2c9dc 100755 --- a/iguana/iguana_ramchain.c +++ b/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)); exit(-1); } - if ( offset < mem->totalsize ) + if ( offset <= mem->totalsize ) iguana_memreset(mem); else {