From 327345ca3429d5aa573e9f7615a3ba418a70e2bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Granh=C3=A3o?= Date: Tue, 29 Oct 2024 16:39:43 +0000 Subject: [PATCH] Filter swaps that have some refund in progress --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index de26b300..7b6a88c5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2166,6 +2166,7 @@ impl LightningNode { "Failed to list refundable failed swaps", )? .into_iter() + .filter(|s| s.refund_tx_ids.is_empty()) .map(|s| FailedSwapInfo { address: s.bitcoin_address, amount: s