Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra zeros in token value on send confirmation screen #6762

Closed
dpazdan opened this issue Jun 27, 2019 · 7 comments
Closed

Extra zeros in token value on send confirmation screen #6762

dpazdan opened this issue Jun 27, 2019 · 7 comments
Labels

Comments

@dpazdan
Copy link

dpazdan commented Jun 27, 2019

Describe the bug
User reported seeing 25000000 USD on the send screen, with the equivalent USD value, when sending 25 USDC. I tested and confirmed this with a 0.9 USDC send (see screenshot below). If the transaction is confirmed, it will still send the correct amount.

To Reproduce
Steps to reproduce the behavior:

  1. Send USDC of any amount.
  2. See inaccurate amount displayed (by 6 decimal places)

Expected behavior
See the correct amount prior to confirming.

Screenshots
image

Additional context
Support case #: 20866

@bdresser
Copy link
Contributor

thanks @dpazdan, please holler if this comes up again

@Lastrellik
Copy link

This is happening for us too.

@mesozoic-technology
Copy link

I've been encountering this with other ERC20's today as well. The amount of 0's are the amount of decimals on the ERC20.

@bdresser
Copy link
Contributor

thanks @Lastrellik @realisation - what MM version are you on and what tokens are you seeing it with? cc @tmashuang

@Lastrellik
Copy link

@bdresser Version 6.7.0 and we have some test tokens deployed to Kovan that are showing this behavior. The addresses of those tokens can be seen here:

User Facing Stable Coins
    Dai: 0x4C561F234520Bb75184E5337041285F990AA4107
    USDCoin: 0x49D9cebaDcD42F8a556e0a5a982a95dc191BF8c6
    TrueUSD: 0x936Bae0783D0e3c6B3799091E8803ffb563302e0
    Paxos Standard: 0xF63BF08CA72b7b4d0219777769f7B2E85C172BCB
    Gemini dollar: 0x6459d0c05A62dC1b4cC3b8f0CF652B6A2A0c3537

Give me an address and I can send you some of these tokens if it's useful for you. Let me know if you need more help reproducing.

@bdresser bdresser changed the title Inaccurate USDC value displayed on send confirmation screen Extra zeros in token value on send confirmation screen Jun 27, 2019
@bdresser
Copy link
Contributor

We've reproduced, digging in now

@danfinlay
Copy link
Contributor

Fixed in Version 6.7.1, publishing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants