From 978ca7951298b40ae467d04b81926375583b0841 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Mar 2017 13:46:07 +0300 Subject: [PATCH] Test --- src/komodo_bitcoind.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 1d07d26cf..b6edcd2fa 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -358,7 +358,7 @@ int32_t notarizedtxid_height(char *txidstr,int32_t *kmdnotarized_heightp) //printf("(%s)\n",jsonstr); if ( (json= cJSON_Parse(jsonstr)) != 0 ) { - if ( (item= jobj(json,"result")) != 0 ) + if ( (item= jobj(json,(char *)"result")) != 0 ) { *kmdnotarized_heightp = jint(item,(char *)"notarized"); height = jint(item,(char *)"blocks"); @@ -373,7 +373,7 @@ int32_t notarizedtxid_height(char *txidstr,int32_t *kmdnotarized_heightp) //printf("(%s)\n",jsonstr); if ( (json= cJSON_Parse(jsonstr)) != 0 ) { - if ( (item= jobj(json,"result")) != 0 ) + if ( (item= jobj(json,(char *)"result")) != 0 ) { txid_confirmations = jint(item,(char *)"confirmations"); printf("height.%d tconfs.%d\n",height,txid_confirmations);