From a371cc99bae2ba2c3bdf94fcb23f9d133f1f9a2e Mon Sep 17 00:00:00 2001 From: Artem Pikulin Date: Fri, 9 Mar 2018 17:24:53 +0700 Subject: [PATCH] Wait 1800 seconds for dexfee. Required for lot of ETH concurrent swaps. --- 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 4fb1012f0..aae4a23fe 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -862,7 +862,7 @@ void LP_bobloop(void *_swap) //LP_swapsfp_update(&swap->I.req); LP_swap_critical = (uint32_t)time(NULL); LP_unavailableset(swap->bobdeposit.utxotxid,swap->bobdeposit.utxovout,(uint32_t)time(NULL)+60,swap->I.otherhash); - if ( LP_waitfor(swap->N.pair,swap,LP_SWAPSTEP_TIMEOUT*10,LP_verify_otherfee) < 0 ) + if ( LP_waitfor(swap->N.pair,swap,1800,LP_verify_otherfee) < 0 ) { error = 1; err = -2004, printf("error waiting for alicefee\n");