From 14871d491a747baf2e2ff321ea4fcfdc934b5d0c Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 25 Oct 2016 19:08:44 -0300 Subject: [PATCH] test --- src/cJSON.h | 2 +- src/komodo_bitcoind.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cJSON.h b/src/cJSON.h index 483b3055d..c14a72130 100755 --- a/src/cJSON.h +++ b/src/cJSON.h @@ -34,7 +34,7 @@ //#include "../crypto777/OS_portable.h" #define SATOSHIDEN ((uint64_t)100000000L) -#define dstr(x) ((double)(x) / SATOSHIDEN) +//#define dstr(x) ((double)(x) / SATOSHIDEN) #define MAX_JSON_FIELD 4096 // on the big side #ifdef __cplusplus diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index fbebb0255..41805025c 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -302,7 +302,7 @@ char *komodo_issuemethod(char *method,char *params,uint16_t port) sprintf(url,(char *)"http://127.0.0.1:%u",port); sprintf(postdata,"{\"method\":\"%s\",\"params\":%s}",method,params); //printf("postdata.(%s) USERPASS.(%s)\n",postdata,USERPASS); - retstr2 = bitcoind_RPC(&retstr,"debug",url,USERPASS,method,params); + retstr2 = bitcoind_RPC(&retstr,(char *)"debug",url,USERPASS,method,params); //retstr = curl_post(&cHandle,url,USERPASS,postdata,0,0,0,0); } return(retstr);