-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: swap amount in fiat is calculated wrong (#6406)
### Description This PR fixes SwapScreenV2 incorrect fiat calculations when entering amount in fiat. P.S. This part will be covered with tests in the follow-up PR for the sake of not withholding the ability to patch the latest release as it appears to be more time-consuming. ### Test plan https://github.com/user-attachments/assets/47e0c263-00c4-4ad3-b529-48839e28f70c ### Related issues Fixes RET-1296 ### Backwards compatibility Yes ### Network scalability If a new NetworkId and/or Network are added in the future, the changes in this PR will: - [x] Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)
- Loading branch information
1 parent
a4694ae
commit efd70c1
Showing
3 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters