diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index d48d1f63a..cf2c68c53 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -855,7 +855,7 @@ void LP_bobloop(void *_swap) bobwaittimeout = LP_calc_waittimeout(bobstr); alicewaittimeout = LP_calc_waittimeout(alicestr); #ifndef NOTETOMIC - if (swap->I.bobtomic[0] != 0 || swap->I.alicetomic != 0) { + if (swap->I.bobtomic[0] != 0 || swap->I.alicetomic[0] != 0) { uint64_t eth_balance = getEthBalance(swap->I.etomicsrc); if (eth_balance < 500000) { err = -5000, printf("Bob ETH balance too low, aborting swap!\n"); @@ -958,7 +958,7 @@ void LP_aliceloop(void *_swap) alicewaittimeout = LP_calc_waittimeout(alicestr); #ifndef NOTETOMIC - if (swap->I.bobtomic[0] != 0 || swap->I.alicetomic != 0) { + if (swap->I.bobtomic[0] != 0 || swap->I.alicetomic[0] != 0) { uint64_t eth_balance = getEthBalance(swap->I.etomicdest); if (eth_balance < 500000) { err = -5001, printf("Alice ETH balance too low, aborting swap!\n");