Browse Source

Wait 1800 seconds for dexfee. Required for lot of ETH concurrent swaps.

patch-3
Artem Pikulin 7 years ago
parent
commit
a371cc99ba
  1. 2
      iguana/exchanges/LP_swap.c

2
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");

Loading…
Cancel
Save