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

Change importAccountWithStrategy return #1295

Merged
merged 4 commits into from
May 2, 2023

Conversation

mikesposito
Copy link
Member

@mikesposito mikesposito commented May 2, 2023

Description

This PR changes the returned object of importAccountWithStrategy method from KeyringController. The method now returns the imported account address along with the keyring current mem state.

Changes

  • BREAKING: Changed importAccountWithStrategy returned object

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:28
@mikesposito mikesposito requested a review from a team as a code owner May 2, 2023 09:28
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 b837b24 into main May 2, 2023
@mikesposito mikesposito deleted the feat/change-importaccountwithstrategy-return branch May 2, 2023 12:15
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: importAccountWithStrategy should return imported account address
2 participants