Limit the precision on the asset amount input fields to 18 decimal places

This issue has been tracked since 2023-03-17.

We should not allow to enter more than 18 decimal places in the:

  • Asset / Amount input on the Send Asset screen
  • Swap from input on the Swap Assets screen

When I requested a swap of an asset and provided amount with the 20 decimal digits (0.01234567890123456789), the last two digits were ignored (0.012345678901234567) was actually sent.

Observed on 0.28.0

ViharGandhi wrote this answer on 2023-03-24

Can you assign this issue to me ?

More Details About Repo
Owner Name tahowallet
Repo Name extension
Full Name tahowallet/extension
Language TypeScript
Created Date 2021-03-07
Updated Date 2023-03-25
Star Count 2757
Watcher Count 50
Fork Count 295
Issue Count 316


Issue Title Created Date Updated Date