Browse Source

Test

etomic
jl777 7 years ago
parent
commit
b435fe804c
  1. 4
      iguana/exchanges/LP_commands.c

4
iguana/exchanges/LP_commands.c

@ -35,7 +35,9 @@ char *LP_numutxos()
char *stats_JSON(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson,char *remoteaddr,uint16_t port) // from rpc port
{
char *method,*userpass,*base,*rel,*coin,*retstr = 0; int32_t changed,flag = 0; cJSON *retjson,*reqjson = 0; struct iguana_info *ptr;
//printf("stats_JSON(%s)\n",jprint(argjson,0));
retstr = jprint(argjson,0);
printf("stats_JSON(%s)\n",retstr);
free(retstr), retstr = 0;
method = jstr(argjson,"method");
/*if ( (ipaddr= jstr(argjson,"ipaddr")) != 0 && (argport= juint(argjson,"port")) != 0 && (method == 0 || strcmp(method,"electrum") != 0) )
{

Loading…
Cancel
Save