From 22f5e27b7c48d74ae41a4261522113a33da09daf Mon Sep 17 00:00:00 2001 From: Artem Pikulin Date: Mon, 5 Mar 2018 19:19:14 +0700 Subject: [PATCH] Fix Alice ERC20 payment verification. --- iguana/exchanges/LP_etomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_etomic.c b/iguana/exchanges/LP_etomic.c index 75b9022f1..0ec3a85af 100644 --- a/iguana/exchanges/LP_etomic.c +++ b/iguana/exchanges/LP_etomic.c @@ -138,7 +138,7 @@ uint8_t LP_etomic_verify_alice_payment(struct basilisk_swap *swap, char *txId) strcpy(input20.bobAddress, swap->I.etomicsrc); uint8arrayToHex(input20.bobHash, swap->I.secretBn, 20); uint8arrayToHex(input20.aliceHash, swap->I.secretAm, 20); - uint8arrayToHex(input20.dealId, swap->alicepayment.utxotxid.bytes, 32); + uint8arrayToHex(input20.dealId, swap->alicepayment.I.actualtxid.bytes, 32); strcpy(input20.tokenAddress, swap->I.alicetomic); satoshisToWei(input20.amount, swap->I.alicesatoshis);