MetaMask / MetaMask/metamask-extension

fix alternation between ERC20 and USDT[Bug]:

Open
#13,324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-swaps Sev2-normal
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

when I'm going to do the conversion, the value doesn't match what I have in ETHERSCAN...

### Steps to reproduce

1.Click Submit
2Enter an address or switch between accounts
.3.Enter a value in Token (such as ERC20)
4.Press ^v icon to switch to USD as inpu
![Sem título222](https://user-images.githubusercontent.com/97804150/149634446-9a54bf76-314e-42d2-9f0b-e706c3bc1875.png)
![Sem título22](https://user-images.githubusercontent.com/97804150/149634448-3c8c99ef-1f4b-4416-917d-f43e2f4bb625.png)
![Sem títulofafaa](https://user-images.githubusercontent.com/97804150/149634522-4b69b2c6-94c5-4463-b932-0ca048a43bb3.png)
t

### Error messages or log output

```shell
when I click on the icon, to make the conversion the value does not match.
```

### Version

10.8.1

### Build type

Other (please specify exactly where you obtained this build in "Additional Context" section)

### Browser

Chrome

### Operating system

Other (please elaborate in the "Additional Context" section)

### Hardware wallet

_No response_

### Additional context

I'm using windows system, and I use the metamask in the extension

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the conversion in the MetaMask browser extension on Chrome, switching between ERC20 or USDT and USD as described, then compare the displayed value with Etherscan. Done means the converted value matches the corresponding Etherscan value after submitting, changing accounts, or using the switch icon.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.