From a6161a5dc300bb14f80c70439a70454c7d246587 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 9 Sep 2017 23:00:05 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 10e689207..9cf7c0e0a 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -241,7 +241,7 @@ int32_t LP_electrum_maxlen; void *LP_electrum_buf; void LP_dedicatedloop(int32_t (*recvfunc)(char *ipaddr,char *str,int32_t len),char **sendstrp,char *ipaddr,uint16_t port) { struct pollfd fds; uint8_t *buf; char *str; int32_t len,sock,bufsize,flag,timeout = 10; - LP_electrum_maxlen = bufsize = IGUANA_MAXPACKETSIZE * 2; + LP_electrum_maxlen = bufsize = IGUANA_MAXPACKETSIZE * 10; LP_electrum_buf = buf = malloc(bufsize); sock = LP_socket(0,ipaddr,port); while ( sock >= 0 )