This commit is contained in:
jl777
2016-10-25 19:08:44 -03:00
parent c23b9ce30f
commit 14871d491a
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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);