diff --git a/iguana/exchanges/LP_etomic.c b/iguana/exchanges/LP_etomic.c index 97c5dc422..dcad27e4e 100644 --- a/iguana/exchanges/LP_etomic.c +++ b/iguana/exchanges/LP_etomic.c @@ -206,7 +206,7 @@ char *LP_etomicalice_spends_bob_payment(struct LP_swap_remember *swap) memset(&txData,0,sizeof(txData)); memset(&input,0,sizeof(input)); - EthTxReceipt receipt = getEthTxReceipt(swap->bobDepositEthTx); + EthTxReceipt receipt = getEthTxReceipt(swap->bobPaymentEthTx); uint8arrayToHex(input.paymentId, swap->txids[BASILISK_BOBPAYMENT].bytes, 32); satoshisToWei(input.amount, swap->values[BASILISK_BOBPAYMENT]); diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index aca5f74f0..527f37461 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -856,12 +856,6 @@ void LP_bobloop(void *_swap) } LP_swap_critical = (uint32_t)time(NULL); - if (swap->I.bobtomic[0] != 0) { - char *paymentTx = LP_etomicbob_sends_payment(swap); - strcpy(swap->bobpayment.I.ethTxid, paymentTx); - free(paymentTx); - } - if ( LP_swapdata_rawtxsend(swap->N.pair,swap,0x8000,data,maxlen,&swap->bobpayment,0x4000,0) == 0 ) { printf("error sending bobpayment\n"); }