Skip to content

Commit

Permalink
Merge pull request #1243 from getlipa/fix/unresolved-failed-swaps-inc…
Browse files Browse the repository at this point in the history
…luding-ones-with-pending-resolution

Filter swaps that have some refund in progress
  • Loading branch information
danielgranhao authored Oct 30, 2024
2 parents 8193f43 + 327345c commit 69effe1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2180,6 +2180,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
Expand Down

0 comments on commit 69effe1

Please sign in to comment.