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