MetaMask / MetaMask/metamask-extension

'You received' shows raw token amount instead of mUSD after USDC → mUSD conversion

Open
#45,780 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser-chrome INVALID-ISSUE-TEMPLATE regression-RC-13.46.0 Sev3-low team-confirmations team-core-extension-ux type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

## Description
After converting USDC to mUSD using a OneKey QR hardware wallet account, the transaction confirmation screen shows the 'You received' amount as a raw integer (+1999818) without the correct mUSD token label, logo, or decimal formatting. The expected display should show the converted mUSD value with the correct token symbol and formatting (e.g. +1.999818 mUSD).

## Steps to Reproduce
1. Add a hardware wallet (OneKey) and import accounts via QR
2. Ensure the account has sufficient ETH and USDC balance on Ethereum mainnet
3. Initiate a conversion from USDC to mUSD
4. Confirm the transaction on the OneKey device
5. Open the transaction confirmation screen
6. Observe the 'You received' field

## Expected Result
The 'You received' field displays the correct mUSD token amount with the mUSD logo and symbol (e.g. +1.999818 mUSD).

## Actual Result
The 'You received' field shows a raw unformatted integer (+1999818). The 'You sent' field (-2.050256 USDC) displays correctly.

### Detection stage
Release Candidate

### Version
13.46.0 RC

### Build type
RC (Release Candidate)

### Browser
Chrome

### Operating system
Not specified

### Hardware wallet
OneKey (QR)

## Additional context
Screenshot attached. Transaction is confirmed (Status: Confirmed, Aug 26, 2026, 1:59 PM). Account: QR Account 1 (0xc09e4...3617c). Network: Ethereum. Transaction ID: 0x9781c...f083a. The raw value of +1999818 suggests the mUSD token has 6 decimals and the amount should display as +1.999818 mUSD — the decimal conversion and token metadata lookup appear to be failing for mUSD in this flow.

## Media

Image

---
*Filed via Claude bug reporter*

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 OneKey QR USDC-to-mUSD conversion and tracing the transaction confirmation screen's “You received” rendering. Check the mUSD token metadata and decimal-formatting path against the correctly displayed “You sent” USDC amount. Done means the field shows the formatted mUSD value, logo, and symbol instead of the raw integer.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.