diff --git a/iguana/exchanges/LP_unspents.c b/iguana/exchanges/LP_unspents.c index cfe9b091f..781012f21 100644 --- a/iguana/exchanges/LP_unspents.c +++ b/iguana/exchanges/LP_unspents.c @@ -574,7 +574,7 @@ void LPinit(uint16_t myport,uint16_t mypull,uint16_t mypub,double profitmargin) nn_close(pullsock), pullsock = -1; if ( pubsock >= 0 ) nn_close(pubsock), pubsock = -1; - } + } else printf("error getting sockets %d %d\n",pullsock,pubsock); LP_mypubsock = pubsock; mypeer = LP_addpeer(pubsock,myipaddr,myport,0,0,profitmargin); //printf("my ipaddr.(%s) peers.(%s)\n",ipaddr,retstr!=0?retstr:"");