Skip to content

Commit

Permalink
Remove sourceCurrencyId and targetCurrencyId (#7031)
Browse files Browse the repository at this point in the history
* feat(LIVE-12808): remove targetCurrencyId and currenyCurrencyId that are sending wrong data

* feat(LIVE-12808): remove targetCurrencyId and currentCurrencyId
  • Loading branch information
lpaquet-ledger committed Jun 7, 2024
1 parent 4297d2c commit 0cafb0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-files-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Remove sourceCurrencyId and targetCurrencyId
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ export function Confirmation({
swapStep: "SIGN_COIN_TRANSACTION",
statusCode: "DISABLE_TRANSACTION_BROADCAST",
errorMessage: "DISABLE_TRANSACTION_BROADCAST",
sourceCurrencyId: swapTx.current.swap.from.account?.id,
targetCurrencyId: swapTx.current.swap.to.account?.id,
hardwareWalletType: deviceMeta.device.modelId,
swapType: exchangeRate.current.tradeMethod,
});
Expand All @@ -119,8 +117,6 @@ export function Confirmation({
provider,
swapId,
transactionId: operation.hash,
sourceCurrencyId: swapTx.current.swap.from.account?.id,
targetCurrencyId: swapTx.current.swap.to.account?.id,
hardwareWalletType: deviceMeta.device.modelId,
swapType: exchangeRate.current.tradeMethod,
});
Expand Down

0 comments on commit 0cafb0f

Please sign in to comment.