Skip to content

[Bug]: Permissions - Removing Hardware wallet accounts doesn't clear up Permission site entry #43618

Description

@seaona

Describe the bug

Removing a Hardware wallet account doesn't clear up Permission site entry, if the account was connected to a dapp.
The permissions Sites page still shows the dapp which the hardware wallet was connected to, but now it displays 0 accounts.

Expected behavior

We should remove the sites entry as no accounts are connected

Screenshots/Recordings

forget-device-0accts.mov

Steps to reproduce

  1. Go to Add Accounts
  2. Add a Ledger account
  3. Go to the test dapp
  4. Connect with the Ledger Account (no other account)
  5. Now click Accounts
  6. Add Hardware Wallet
  7. Select Ledger
  8. Click Forget device
  9. See Ledger account has been removed
  10. Click Menu > Dapp Permissions --> see test dapp appears as an entry but it shows 0 accounts connected, with the list of networks

Error messages or log output

Where was this bug found?

Internal release testing

Version

13.36.0

Build type

None

Browser

Chrome

Operating system

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    INVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.Sev2-normalNormal severity; minor loss of service or inconvenience.regression-RC-13.36.0Regression bug that was found in release candidate (RC) for release 13.36.0team-wallet-integrationsWallet Integrations teamtype-bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    Status
    To be triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions