From 707451ae1d4c574c555305e43017f5ac22350002 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 20 May 2017 17:50:03 +0300 Subject: [PATCH] Test --- src/komodo_kv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo_kv.h b/src/komodo_kv.h index d9fe722a4..37acf0d24 100644 --- a/src/komodo_kv.h +++ b/src/komodo_kv.h @@ -136,7 +136,7 @@ void komodo_kvupdate(uint8_t *opretbuf,int32_t opretlen,uint64_t value) { if ( komodo_kvsigverify(keyvalue,keylen+refvaluesize,refpubkey,sig) < 0 ) { - //printf("komodo_kvsigverify error [%d]\n",coresize-13); + printf("komodo_kvsigverify error [%d]\n",coresize-13); return; } } @@ -165,6 +165,7 @@ void komodo_kvupdate(uint8_t *opretbuf,int32_t opretlen,uint64_t value) memcpy(ptr->key,key,keylen); newflag = 1; HASH_ADD_KEYPTR(hh,KOMODO_KV,ptr->key,ptr->keylen,ptr); + printf("KV add.(%s) (%s)\n",ptr->key,valueptr); } if ( newflag != 0 || (ptr->flags & KOMODO_KVPROTECTED) == 0 ) {