From 965b1900d7880c3fb9a562a055f9bb7f33aeb3e8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 4 Dec 2017 16:07:38 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index da7597e47..1ba9b9011 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -859,7 +859,7 @@ void LP_aliceloop(void *_swap) { uint8_t *data; int32_t maxlen,n,m; uint32_t expiration; struct basilisk_swap *swap = _swap; G.LP_pendingswaps++; - maxlen = 1024*1024 + sizeof(*swap); + maxlen = 128*1024 + sizeof(*swap); data = malloc(maxlen); expiration = (uint32_t)time(NULL) + LP_SWAPSTEP_TIMEOUT; if ( swap != 0 )