MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
12.08k stars 4.93k forks source link

[Bug]: The "Select an account" modal displays incorrect balances #28592

Closed sleepytanya closed 1 week ago

sleepytanya commented 1 week ago

Describe the bug

The "Select an account" modal displays incorrect balances. Balances vary depending on the currently selected network but the balance is always incorrect (too big). For a newly added account the correct balance is shown - 0.

qa-5 build

Expected behavior

-

Screenshots/Recordings

https://github.com/user-attachments/assets/805795c9-0747-444c-a28b-2b603402e345

Screenshot 2024-11-20 at 23 19 19

Steps to reproduce

  1. Open 'Select an account' modal
  2. Observe token balance

Error messages or log output

No response

Detection stage

On the development branch

Version

qa-5 build

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Unik0rnMaggie commented 1 week ago

Present in qa-5 build in "Select Account" mode and also "Send" flow:

Screenshot 2024-11-21 at 10 51 36 Screenshot 2024-11-21 at 10 51 58