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

fix: grammatical mistakes #5168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/accounts-controller/src/AccountsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const EMPTY_ACCOUNT = {
/**
* Controller that manages internal accounts.
* The accounts controller is responsible for creating and managing internal accounts.
* It also provides convenience methods for accessing and updating the internal accounts.
* It also provides convenient methods for accessing and updating the internal accounts.
* The accounts controller also listens for keyring state changes and updates the internal accounts accordingly.
* The accounts controller also listens for snap state changes and updates the internal accounts accordingly.
*
Expand Down Expand Up @@ -735,7 +735,7 @@ export class AccountsController extends BaseController<
const deletedAccounts: InternalAccount[] = [];

// snap account ids are random uuid while normal accounts
// are determininistic based on the address
// are deterministic based on the address

// ^NOTE: This will be removed when normal accounts also implement internal accounts
// finding all the normal accounts that were added
Expand Down Expand Up @@ -868,7 +868,7 @@ export class AccountsController extends BaseController<
* Returns the list of accounts for a given keyring type.
* @param keyringType - The type of keyring.
* @param accounts - Accounts to filter by keyring type.
* @returns The list of accounts associcated with this keyring type.
* @returns The list of accounts associated with this keyring type.
*/
#getAccountsByKeyringType(keyringType: string, accounts?: InternalAccount[]) {
return (accounts ?? this.listMultichainAccounts()).filter(
Expand Down