Skip to content

Commit

Permalink
Merge pull request #413 from KomodoPlatform/smk762-patch-2
Browse files Browse the repository at this point in the history
Update komodo_bitcoind.h
  • Loading branch information
smk762 authored Apr 22, 2021
2 parents a9c2477 + 46092ee commit efc9756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/komodo_bitcoind.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,11 @@ char *komodo_issuemethod(char *userpass,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("[%s] (%s) postdata.(%s) params.(%s) USERPASS.(%s)\n",ASSETCHAINS_SYMBOL,url,postdata,params,KMDUSERPASS);
// printf("[%s] (%s) postdata.(%s) params.(%s) USERPASS.(%s)\n",ASSETCHAINS_SYMBOL,url,postdata,params,KMDUSERPASS);
retstr2 = bitcoind_RPC(&retstr,(char *)"debug",url,userpass,method,params);
//retstr = curl_post(&cHandle,url,USERPASS,postdata,0,0,0,0);
}
fprintf(stderr, "RPC RESP: %s\n", retstr2);
// fprintf(stderr, "RPC RESP: %s\n", retstr2);
return(retstr2);
}

Expand Down

0 comments on commit efc9756

Please sign in to comment.