You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered a bug when burning HNT for DC when Helium Wallet currency is set to CAD. When the swap happens, it ends up burning more than the amount of HNT specified when the swap was set up.
To Reproduce
Steps to reproduce the behavior:
In Helium Wallet App settings set currency to CAD
On the main wallet page, click Swap
Select HNT as input to Swap, let's say 5
Observe app says You receive 670000 DC in swap output
Perform the token swap
Observe HNT balance has dropped by more than the amount selected in step 3
Open the swap transaction in explorer, observe ~1.33x HNT has been burned than selected in step 3
This doesn't happen if Helium Wallet currency is set to USD
Expected behavior
Expecting the transaction to burn the amount of HNT selected in step 3 regardless of the App's currency setting
Smartphone (please complete the following information):
Device: iPhone 12 Pro
OS: iOS 16.2
App Version v2.0.7
Additional context
It looks like when swapping HNT to DC, when you enter an HNT amount, the app uses the HNT USD price to calculate the amount of DC that will be minted regardless of the App's currency setting.
Then when the transaction is submitted, the DC mint amount will remain constant and the HNT amount will automatically be modified in order to burn enough the create the specified amount of DC.
The text was updated successfully, but these errors were encountered:
Describe the bug
Encountered a bug when burning HNT for DC when Helium Wallet currency is set to CAD. When the swap happens, it ends up burning more than the amount of HNT specified when the swap was set up.
To Reproduce
Steps to reproduce the behavior:
You receive 670000 DC
in swap outputThis doesn't happen if Helium Wallet currency is set to USD
Expected behavior
Expecting the transaction to burn the amount of HNT selected in step 3 regardless of the App's currency setting
Smartphone (please complete the following information):
Additional context
It looks like when swapping HNT to DC, when you enter an HNT amount, the app uses the HNT USD price to calculate the amount of DC that will be minted regardless of the App's currency setting.
Then when the transaction is submitted, the DC mint amount will remain constant and the HNT amount will automatically be modified in order to burn enough the create the specified amount of DC.
The text was updated successfully, but these errors were encountered: