Browse Source

+print

pass-iguana-arg
jl777 7 years ago
parent
commit
cb87645672
  1. 2
      iguana/exchanges/LP_socket.c
  2. 2
      iguana/exchanges/coins

2
iguana/exchanges/LP_socket.c

@ -422,7 +422,7 @@ cJSON *electrum_submit(char *symbol,struct electrum_info *ep,cJSON **retjsonp,ch
{
*retjsonp = 0;
sprintf(stratumreq,"{ \"jsonrpc\":\"2.0\", \"id\": %u, \"method\":\"%s\", \"params\": %s }\n",ep->stratumid,method,params);
//printf("%s %s",symbol,stratumreq);
printf("timeout.%d exp.%d %s %s",timeout,(int32_t)(expiration-time(NULL)),symbol,stratumreq);
memset(ep->buf,0,ep->bufsize);
sitem = electrum_sitem(ep,stratumreq,timeout,retjsonp);
portable_mutex_lock(&ep->mutex); // this helps performance!

2
iguana/exchanges/coins

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save