Browse Source

Test

etomic
jl777 7 years ago
parent
commit
831733604d
  1. 4
      iguana/exchanges/LP_rpc.c

4
iguana/exchanges/LP_rpc.c

@ -131,10 +131,10 @@ cJSON *bitcoin_json(struct iguana_info *coin,char *method,char *params)
if ( coin->electrum == 0 )
{
retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,method,params);
if ( strcmp("KMD",coin->symbol) == 0 )
printf("%s: %s.%s -> (%s)\n",coin->symbol,method,params,retstr);
if ( retstr != 0 && retstr[0] != 0 )
{
if ( strcmp("KMD",coin->symbol) == 0 )
printf("%s: %s.%s -> (%s)\n",coin->symbol,method,params,retstr);
retjson = cJSON_Parse(retstr);
free(retstr);
}

Loading…
Cancel
Save