From c5b1b8b9a4b796bb69da0b15b3d818778fbafea8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 31 Oct 2017 22:56:12 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index e6b51ae6c..ca409527a 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -902,6 +902,7 @@ void LP_dedicatedloop(void *arg) struct pollfd fds; int32_t i,len,flag,timeout = 10; struct iguana_info *coin; cJSON *retjson; struct stritem *sitem; struct electrum_info *ep = arg; if ( (coin= LP_coinfind(ep->symbol)) != 0 ) ep->heightp = &coin->height, ep->heighttimep = &coin->heighttime; + sleep(2); if ( (retjson= electrum_version(ep->symbol,ep,&retjson)) != 0 ) printf("electrum_version %s\n",jprint(retjson,1)); if ( (retjson= electrum_headers_subscribe(ep->symbol,ep,&retjson)) != 0 )