headline-design / hdx-bug-smasher

HDX Bug Smasher is a feedback/issue-tracking repo for the HDX Protocol interface and contracts.
MIT License
7 stars 6 forks source link

SWAP [DESKTOP]: Wrong Algo value for ASA and can't swap. #110

Open mjaysona opened 2 years ago

mjaysona commented 2 years ago

Device used: Macbook Pro OS: macOS Monterey Browser: Brave/Chrome

Description: If I click the Reverse Arrow icon quickly after selecting a token and then entered an amount in any of the token fields, HDX is not able to properly calculate the equivalent value of the token to be swapped, in this case, to Algo.

https://user-images.githubusercontent.com/14266979/186595471-7ff947bf-79fb-4e39-9654-d3f832f2eed7.mp4

Pre-requisite/s:

Steps:

  1. Go to https://hdx.fi/#/swap,
  2. Click Select a token
  3. Select GEMS.
  4. Quickly reverse the ASA by clicking the Double Reversed Arrow icon. image
  5. Enter an amount more than 0 in the GEMS input.

What happens?

What should happen?