From a7c75feef990651e3c9f06689184b3169623733d Mon Sep 17 00:00:00 2001 From: Artem Pikulin Date: Mon, 12 Mar 2018 19:44:03 +0700 Subject: [PATCH] Do not wait for Alice payment to be confirmed on Bob side. --- iguana/exchanges/LP_transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_transaction.c b/iguana/exchanges/LP_transaction.c index 97c246416..0547aca7d 100644 --- a/iguana/exchanges/LP_transaction.c +++ b/iguana/exchanges/LP_transaction.c @@ -2247,7 +2247,7 @@ int32_t LP_verify_alicepayment(struct basilisk_swap *swap,uint8_t *data,int32_t basilisk_dontforget_update(swap,&swap->alicepayment); #ifndef NOTETOMIC if (swap->alicepayment.I.ethTxid[0] != 0 && LP_etomic_is_empty_tx_id(swap->alicepayment.I.ethTxid) == 0) { - if (LP_etomic_wait_for_confirmation(swap->alicepayment.I.ethTxid) < 0 || LP_etomic_verify_alice_payment(swap, swap->alicepayment.I.ethTxid) == 0) { + if (LP_etomic_verify_alice_payment(swap, swap->alicepayment.I.ethTxid) == 0) { return(-1); } }