This commit is contained in:
jl777
2016-10-26 07:34:50 -03:00
parent 7eeb76e9ac
commit f38345e99b
4 changed files with 116 additions and 36 deletions

View File

@@ -337,8 +337,8 @@ 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,(char *)"debug",url,USERPASS,method,params);
//printf("postdata.(%s) USERPASS.(%s)\n",postdata,KMDUSERPASS);
retstr2 = bitcoind_RPC(&retstr,(char *)"debug",url,KMDUSERPASS,method,params);
//retstr = curl_post(&cHandle,url,USERPASS,postdata,0,0,0,0);
}
return(retstr2);