From a9e15655700ca5c83fc7cf9c902e1f0832a806f9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 12 Sep 2017 12:24:00 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 81d0a0800..d09b1a459 100644 --- a/iguana/exchanges/LP_socket.c +++ b/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; else sitem->retptrp = (void **)&retjson; queue_enqueue("sendQ",&ep->sendQ,&sitem->DL); - if ( sitem->retptrp == (void **)&retjson ) - while (retjson == 0 ) - usleep(10000); + //if ( sitem->retptrp == (void **)&retjson ) + // while (retjson == 0 ) + // usleep(10000); } else printf("couldnt find electrum server for (%s %s)\n",method,params); return(retjson); }