Skip to content

Commit

Permalink
refactor: leave better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed Jun 22, 2023
1 parent 7548a8b commit a1e7c65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/keyring-controller/src/KeyringController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ export class KeyringController extends BaseControllerV2<
});

this.#keyring = new EthKeyringController({
// @ts-expect-error - This is a valid type
// @ts-expect-error - `eth-keyring-controller` expects a `Keyring` class
// but we can't use the type from `@metamask/utils` because it's not
// compatible with `BaseControllerV2` as it is not assignable to type `Json`
initState: state,
encryptor,
keyringBuilders,
Expand Down

0 comments on commit a1e7c65

Please sign in to comment.