diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 031539a9f..5c1f1ac1b 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -26,7 +26,7 @@ #include #endif -#define ELECTRUM_TIMEOUT 2 +#define ELECTRUM_TIMEOUT 5 int32_t LP_socket(int32_t bindflag,char *hostname,uint16_t port) { @@ -326,7 +326,7 @@ cJSON *electrum_submit(char *symbol,struct electrum_info *ep,cJSON **retjsonp,ch usleep(10000); if ( retjson == 0 ) { - printf("unexpected timeout with null retjson\n"); + printf("unexpected timeout with null retjson: %s %s\n",method,params); retjson = cJSON_Parse("{\"error\":\"timeout\"}"); } }