diff --git a/packages/hardware-trezor/src/TrezorKeyAgent.ts b/packages/hardware-trezor/src/TrezorKeyAgent.ts index 4b10d0298e4..7d5a905ca9c 100644 --- a/packages/hardware-trezor/src/TrezorKeyAgent.ts +++ b/packages/hardware-trezor/src/TrezorKeyAgent.ts @@ -16,7 +16,6 @@ import { errors, util } from '@cardano-sdk/key-management'; -import { WhitelistedDeviceModel } from './utils'; import { areStringsEqualInConstantTime } from '@cardano-sdk/util'; import { txToTrezor } from './transformers/tx'; import _TrezorConnectWeb from '@trezor/connect-web'; @@ -130,9 +129,6 @@ export class TrezorKeyAgent extends KeyAgentBase { if (!deviceFeatures.success) { throw new errors.TransportError('Failed to get device', deviceFeatures.payload); } - if (!(Object.values(WhitelistedDeviceModel) as string[]).includes(deviceFeatures.payload.model)) { - throw new errors.TransportError(`Trezor device model "${deviceFeatures.payload.model}" is not supported.`); - } return deviceFeatures.payload; } catch (error) { throw transportTypedError(error); diff --git a/packages/hardware-trezor/src/utils.ts b/packages/hardware-trezor/src/utils.ts deleted file mode 100644 index 7ca6bdf4464..00000000000 --- a/packages/hardware-trezor/src/utils.ts +++ /dev/null @@ -1,4 +0,0 @@ -export enum WhitelistedDeviceModel { - ModelT = 'T', - Safe3 = 'Safe 3' -}