Skip to content
Draft
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions packages/accounts-controller/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export function keyringTypeToName(keyringType: string): string {
case KeyringTypes.snap: {
return 'Snap Account';
}
case KeyringTypes.mpc: {
return 'MPC';
}
default: {
throw new Error(`Unknown keyring ${keyringType}`);
}
Expand Down
1 change: 1 addition & 0 deletions packages/keyring-controller/src/KeyringController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export enum KeyringTypes {
ledger = 'Ledger Hardware',
lattice = 'Lattice Hardware',
snap = 'Snap Keyring',
mpc = 'MPC Keyring',
/* eslint-enable @typescript-eslint/naming-convention */
}

Expand Down
Loading