Skip to content

Commit

Permalink
Merge pull request LedgerHQ#9143 from LedgerHQ/fix/LIVE-16653
Browse files Browse the repository at this point in the history
fix(LIVE-16653): remove uniswap from history status calls
  • Loading branch information
lpaquet-ledger authored Feb 18, 2025
2 parents 51563ae + 1114e29 commit b71a61d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wet-geckos-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/live-common": minor
---

remove uniswap from status call history
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ const maybeGetUpdatedSwapHistory = async (
if (pendingSwapIds.length || atomicSwapIds.length) {
const uniquePendingSwapIdsMap = new Map<string, SwapStatusRequest>();
for (const item of pendingSwapIds) {
if (item.provider === "uniswap") {
continue;
}
const existingItem = uniquePendingSwapIdsMap.get(item.swapId);
if (!existingItem) {
uniquePendingSwapIdsMap.set(item.swapId, item);
Expand Down

0 comments on commit b71a61d

Please sign in to comment.