Browse Source

Test

etomic
jl777 8 years ago
parent
commit
6f334dfa7b
  1. 4
      iguana/exchanges/LP_rpc.c

4
iguana/exchanges/LP_rpc.c

@ -52,8 +52,8 @@ cJSON *bitcoin_json(struct iguana_info *coin,char *method,char *params)
{ {
printf("issue.(%s, %s, %s, %s, %s)\n",coin->symbol,coin->serverport,coin->userpass,method,params); printf("issue.(%s, %s, %s, %s, %s)\n",coin->symbol,coin->serverport,coin->userpass,method,params);
//retstr = curl_post(&cHandle,coin->serverport,coin->userpass,params,method,0,0,0); //retstr = curl_post(&cHandle,coin->serverport,coin->userpass,params,method,0,0,0);
//retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,method,params); retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,method,params);
retstr = bitcoind_RPC(0,"",coin->serverport,0,method,params); //retstr = bitcoind_RPC(0,"",coin->serverport,0,method,params);
if ( retstr != 0 && retstr[0] != 0 ) if ( retstr != 0 && retstr[0] != 0 )
{ {
printf("%s: %s.%s -> (%s)\n",coin->symbol,method,params,retstr); printf("%s: %s.%s -> (%s)\n",coin->symbol,method,params,retstr);

Loading…
Cancel
Save