From 1e5fc9c46d49b70c774f6e1ac3539b4cc2edbf2e Mon Sep 17 00:00:00 2001 From: Artem Pikulin Date: Sun, 11 Feb 2018 20:51:22 +0700 Subject: [PATCH] Send Alice ETH payment. --- iguana/exchanges/LP_swap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index f28af0c10..8732c3cfd 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -867,7 +867,7 @@ void LP_aliceloop(void *_swap) LP_swap_critical = (uint32_t)time(NULL); if ( swap->I.alicetomic[0] != 0 ) { - LP_etomicalice_send_payment(swap); + } if ( LP_swapdata_rawtxsend(swap->N.pair,swap,0x80,data,maxlen,&swap->myfee,0x40,0) == 0 ) printf("error sending alicefee\n"); @@ -892,7 +892,7 @@ void LP_aliceloop(void *_swap) { if ( swap->I.alicetomic[0] != 0 ) { - // artem: do stuff alice needs to do right before alicepayment goes out + LP_etomicalice_send_payment(swap); } m = swap->I.aliceconfirms; while ( (n= LP_numconfirms(alicestr,swap->alicepayment.I.destaddr,swap->alicepayment.I.signedtxid,0,1)) < m )