Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addNewAccount doesn't select new account #1296

Merged
merged 1 commit into from
May 2, 2023

Conversation

mikesposito
Copy link
Member

@mikesposito mikesposito commented May 2, 2023

Description

This PR changes the behaviour of KeyringController's addNewAccount method: whenever a new account is created, it will not be selected.

Changes

  • CHANGED: addNewAccount implementation

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation for new or updated code as appropriate (note: this will usually be JSDoc)
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@mikesposito mikesposito marked this pull request as ready for review May 2, 2023 09:43
@mikesposito mikesposito requested a review from a team as a code owner May 2, 2023 09:43
@mikesposito mikesposito force-pushed the feat/addnewaccount-dont-select-account branch from fb304aa to d946906 Compare May 2, 2023 12:01
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mikesposito mikesposito merged commit ec57a2e into main May 2, 2023
@mikesposito mikesposito deleted the feat/addnewaccount-dont-select-account branch May 2, 2023 12:07
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
feat: addNewAccount doesn't select new account
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
feat: addNewAccount doesn't select new account
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyringController: addNewAccount should not change selected account
2 participants