From 0f3626869ef6c032772b31a34a8f73e30a0dcc11 Mon Sep 17 00:00:00 2001 From: boufni95 Date: Thu, 5 Mar 2026 18:20:10 +0000 Subject: [PATCH] fix swap crash --- src/services/lnd/swaps/swaps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/lnd/swaps/swaps.ts b/src/services/lnd/swaps/swaps.ts index 0aaf9e32..a48c5c81 100644 --- a/src/services/lnd/swaps/swaps.ts +++ b/src/services/lnd/swaps/swaps.ts @@ -169,7 +169,7 @@ export class Swaps { await this.storage.paymentStorage.FinalizeInvoiceSwap(swapOpId) this.log("invoice swap completed", { swapOpId, txId }) } else { - await this.storage.paymentStorage.FailInvoiceSwap(swapOpId, result.error, txId) + await this.storage.paymentStorage.FailInvoiceSwap(swapOpId, result.error) this.log("invoice swap failed", { swapOpId, error: result.error }) } }, () => payAddress(swap.address, swap.transaction_amount)