This PR fixes the exchange rate widget used in P2P swaps. The exchange rate is now calculated using the BigDecimal type instead of the BigInt type so that the exchange rate is calculated correctly for two tokens that have a different amount of decimals.
This PR fixes the exchange rate widget used in P2P swaps. The exchange rate is now calculated using the
BigDecimal
type instead of theBigInt
type so that the exchange rate is calculated correctly for two tokens that have a different amount of decimals.