Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

fix: remove the removeAccountsBySnapId method #121

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

danroc
Copy link
Contributor

@danroc danroc commented Sep 27, 2023

Accounts shouldn't be removed by directly calling the keyring because they also need to be removed from other controllers, which is done by the removeAccount method from metamask-controller.js.

@danroc danroc changed the title fix: remove removeAccountsBySnapId fix: remove the removeAccountsBySnapId method Sep 27, 2023
@danroc danroc force-pushed the feature/remove-remove-account-snap branch from 7793ca0 to 1debe04 Compare September 27, 2023 07:52
Accounts shouldn't be removed by directly calling the keyring because
they also need to be removed from other controllers, which is done by
the `removeAccount` method from `metamask-controller.js`.
@danroc danroc force-pushed the feature/remove-remove-account-snap branch from 1debe04 to 871d975 Compare September 27, 2023 08:12
@danroc danroc merged commit 83f64a9 into main Sep 27, 2023
@danroc danroc deleted the feature/remove-remove-account-snap branch September 27, 2023 14:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants