From f755a0deec618f479f432c016b794ef2929457a1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 30 Mar 2017 03:17:56 +0300 Subject: [PATCH] Test --- crypto777/iguana_OS.c | 1 + iguana/iguana_ramchain.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto777/iguana_OS.c b/crypto777/iguana_OS.c index 8bd55e0d1..504905ee1 100755 --- a/crypto777/iguana_OS.c +++ b/crypto777/iguana_OS.c @@ -422,6 +422,7 @@ void *iguana_meminit(struct OS_memspace *mem,char *name,void *ptr,int64_t totals mem->totalsize = totalsize; } mem->threadsafe = threadsafe; + mem->alignflag = 4; iguana_memreset(mem); if ( mem->totalsize == 0 ) printf("meminit.%s ILLEGAL STATE null size\n",mem->name), getchar(); diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 2926906b9..91b388a46 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -71,7 +71,7 @@ struct iguana_kvitem *iguana_hashsetPT(struct iguana_ramchain *ramchain,int32_t printf("negative itemind\n"); iguana_exit(0,0); } - if ( (0) ) + if ( (1) ) { if ( selector == 'T' ) HASH_FIND(hh,ramchain->txids,key,keylen,tmp);