Outblock / FRW-iOS

Apache License 2.0
3 stars 4 forks source link

[BUG] Ensure Full Amount is Sent When Moving or Sending Max Amount FT #470

Closed Peppermint1020 closed 1 week ago

Peppermint1020 commented 2 weeks ago

Description: When attempting to move or send the maximum amount of fungible tokens (FT), the application should ensure that the full amount is sent without any rounding issues. Currently, the precision for sending the maximum amount of tokens on iOS is limited to three decimal places.

Steps to Reproduce:

(1) Open the application and navigate to the transfer or move tokens section. (2) Select the option to send the maximum amount of FT. (3) Confirm the transaction.

Expected Behavior: The application should accurately calculate and send the full amount of FT as intended, without truncating decimal places or causing rounding errors.

Actual Behavior: The amount sent may not match the expected full amount due to precision issues.

Peppermint1020 commented 1 week ago

This Bug already fixed in iOS prod version 2.2.10(7). Now The application should accurately calculate and send the full amount of FT as intended, without truncating decimal places or causing rounding errors. Example tx id: https://www.flowscan.io/tx/8c6fd5f4a8101c2375574e5d7f1ad797ce99d060a8f15be4a9c98740df7e72ba