From 523a5dc7e09a6c87a658b5a107cca505b2afd453 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Jan 2017 12:32:20 +0200 Subject: [PATCH] test --- src/komodo_bitcoind.h | 6 +++--- src/komodo_utils.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index c304bcae2..165cc0657 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -376,12 +376,12 @@ int32_t komodo_verifynotarization(char *symbol,char *dest,int32_t height,int32_t { if ( (txjson= cJSON_Parse(jsonstr)) != 0 ) { - if ( (vouts= jarray(&n,txjson,"vout")) > 0 ) + if ( (vouts= jarray(&n,txjson,(char *)"vout")) > 0 ) { vout = jitem(vouts,n-1); - if ( (skey= jobj(vout,"scriptPubKey")) != 0 ) + if ( (skey= jobj(vout,(char *)"scriptPubKey")) != 0 ) { - if ( (hexstr= jstr(skey,"hex")) != 0 ) + if ( (hexstr= jstr(skey,(char *)"hex")) != 0 ) { len = strlen(hexstr) >> 1; decode_hex(script,len,hexstr); diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 0f7392e56..81a116eda 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1502,7 +1502,7 @@ void komodo_args() } else { - char fname[512],username[512],password[4096]; FILE *fp; + char fname[512],username[512],password[4096]; int32_t iter; FILE *fp; ASSETCHAINS_PORT = 8777; for (iter=0; iter<2; iter++) {