Skip to content

Commit 2580518

Browse files
committed
chore: clean up
1 parent 0c4984b commit 2580518

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/keyring-snap-bridge/src/account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ export function transformAccount(
101101
: accountToTransform;
102102

103103
// We still assert that the converted account is valid according to their account's type.
104-
return assertKeyringAccount(account as { type: KeyringAccountType });
104+
return assertKeyringAccount(account);
105105
}

packages/keyring-snap-bridge/src/migrations/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function transformAccountV1(
112112

113113
// For all other non-EVM and ERC4337 Snap accounts, the `scopes` is required, and
114114
// each `*AccountStruct` should assert that automatically.
115-
return assertKeyringAccount(accountV1 as { type: KeyringAccountType });
115+
return assertKeyringAccount(accountV1);
116116
}
117117

118118
/**

0 commit comments

Comments
 (0)