Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: make
generateRandomMnemonic
async (#222)
<!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? Are there any issues or other links reviewers should consult to understand this pull request better? For instance: * Fixes #12345 * See: #67890 --> Our HD keyring [has been updated](MetaMask/accounts#100) to support different kinds of cryptographic functions to randomly generate a mnemonic, which may be an asynchronous operation in some cases. This PR updates the `generateRandomMnemonic` on the `Keyring` type accordingly, even though `eth-hd-keyring` does not implement the type yet, because `KeyringController` uses it as keyring interface.
- Loading branch information