Browse Source

Test

etomic
jl777 8 years ago
parent
commit
a9e1565570
  1. 6
      iguana/exchanges/LP_socket.c

6
iguana/exchanges/LP_socket.c

@ -319,9 +319,9 @@ cJSON *electrum_submit(char *symbol,struct electrum_info *ep,cJSON **retjsonp,ch
sitem->retptrp = (void **)retjsonp; sitem->retptrp = (void **)retjsonp;
else sitem->retptrp = (void **)&retjson; else sitem->retptrp = (void **)&retjson;
queue_enqueue("sendQ",&ep->sendQ,&sitem->DL); queue_enqueue("sendQ",&ep->sendQ,&sitem->DL);
if ( sitem->retptrp == (void **)&retjson ) //if ( sitem->retptrp == (void **)&retjson )
while (retjson == 0 ) // while (retjson == 0 )
usleep(10000); // usleep(10000);
} else printf("couldnt find electrum server for (%s %s)\n",method,params); } else printf("couldnt find electrum server for (%s %s)\n",method,params);
return(retjson); return(retjson);
} }

Loading…
Cancel
Save