Browse Source

Do not wait for Alice payment confirmation on Bob side temporary.

patch-3
Artem Pikulin 7 years ago
parent
commit
0c7d1eae67
  1. 2
      iguana/exchanges/LP_etomic.c

2
iguana/exchanges/LP_etomic.c

@ -136,10 +136,12 @@ char *LP_etomicalice_send_payment(struct basilisk_swap *swap)
uint8_t LP_etomic_verify_alice_payment(struct basilisk_swap *swap, char *txId)
{
/*
if (waitForConfirmation(txId) < 0) {
printf("Alice payment %s does not exist\n", txId);
return(0);
}
*/
EthTxData data = getEthTxData(txId);
if (strcmp(data.to, ETOMIC_ALICECONTRACT) != 0) {
printf("Alice payment %s was sent to wrong address %s\n", txId, data.to);

Loading…
Cancel
Save