|
@ -52,6 +52,7 @@ cJSON *bitcoin_json(struct iguana_info *coin,char *method,char *params) |
|
|
retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,method,params); |
|
|
retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,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); |
|
|
retjson = cJSON_Parse(retstr); |
|
|
retjson = cJSON_Parse(retstr); |
|
|
free(retstr); |
|
|
free(retstr); |
|
|
} |
|
|
} |
|
|