Skip to content

Commit

Permalink
chore(hardware-trezor): remove device model guard
Browse files Browse the repository at this point in the history
  • Loading branch information
tomislavhoracek committed Jun 17, 2024
1 parent c359086 commit 5fd31f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/hardware-trezor/src/TrezorKeyAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ export class TrezorKeyAgent extends KeyAgentBase {
if (!deviceFeatures.success) {
throw new errors.TransportError('Failed to get device', deviceFeatures.payload);
}
if (deviceFeatures.payload.model !== 'T') {
throw new errors.TransportError(`Trezor device model "${deviceFeatures.payload.model}" is not supported.`);
}
return deviceFeatures.payload;
} catch (error) {
throw transportTypedError(error);
Expand Down

0 comments on commit 5fd31f2

Please sign in to comment.