From 4c8ea6a20a316e0cc47df80bc8e2ad4585fb586a Mon Sep 17 00:00:00 2001 From: Kaloyan Kosev Date: Mon, 2 Feb 2026 15:45:32 +0200 Subject: [PATCH] feat: add 'trezor' to key types able to become smarter --- src/libs/account/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/account/account.ts b/src/libs/account/account.ts index 27c713ca41..a21105877d 100644 --- a/src/libs/account/account.ts +++ b/src/libs/account/account.ts @@ -313,7 +313,7 @@ export function isBasicAccount(account: Account, state: AccountOnchainState): bo return !account.creation && !state.isSmarterEoa } -const KEY_TYPES_ABLE_TO_BECOME_SMARTER: Key['type'][] = ['internal', 'lattice'] +const KEY_TYPES_ABLE_TO_BECOME_SMARTER: Key['type'][] = ['internal', 'lattice', 'trezor'] // can the account as a whole become smarter (disregarding chain and state) export function canBecomeSmarter(acc: Account, accKeys: Key[]): boolean {