diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 5e1bfdc9a..d08ba1e1d 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -937,10 +937,13 @@ void LP_dedicatedloop(void *arg) if ( (retjson= electrum_headers_subscribe(ep->symbol,ep,&retjson)) != 0 ) free_json(retjson); for (i=0; i<3; i++) - if ( (retjson= electrum_estimatefee(coin->symbol,coin->electrum,&retjson,2)) != 0 ) { - printf("estimate fee (%s)\n",jprint(retjson,0)); - free_json(retjson); + printf("call estimatefee\n"); + if ( (retjson= electrum_estimatefee(coin->symbol,coin->electrum,&retjson,2)) != 0 ) + { + printf("estimate fee (%s)\n",jprint(retjson,0)); + free_json(retjson); + } else printf("null value from electrum_estimatefee\n"); } printf("LP_dedicatedloop ep.%p sock.%d for %s:%u num.%d %p %s ht.%d\n",ep,ep->sock,ep->ipaddr,ep->port,Num_electrums,&Num_electrums,ep->symbol,*ep->heightp); while ( ep->sock >= 0 )