Browse Source

Bob to wait extra bobwaittimeout after bob deposit

pass-iguana-arg
jl777 7 years ago
parent
commit
40a5bdddfb
  1. 2
      iguana/exchanges/LP_swap.c

2
iguana/exchanges/LP_swap.c

@ -888,7 +888,7 @@ void LP_bobloop(void *_swap)
}
}
LP_unavailableset(swap->bobpayment.utxotxid,swap->bobpayment.utxovout,(uint32_t)time(NULL)+60,swap->I.otherhash);
if ( error == 0 && LP_waitfor(swap->N.pair,swap,alicewaittimeout,LP_verify_alicepayment) < 0 )
if ( error == 0 && LP_waitfor(swap->N.pair,swap,bobwaittimeout + alicewaittimeout,LP_verify_alicepayment) < 0 )
{
error = 1;
err = -2006, printf("error waiting for alicepayment\n");

Loading…
Cancel
Save