File tree 2 files changed +0
-8
lines changed
packages/hardware-trezor/src
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
16
16
errors ,
17
17
util
18
18
} from '@cardano-sdk/key-management' ;
19
- import { WhitelistedDeviceModel } from './utils' ;
20
19
import { areStringsEqualInConstantTime } from '@cardano-sdk/util' ;
21
20
import { txToTrezor } from './transformers/tx' ;
22
21
import _TrezorConnectWeb from '@trezor/connect-web' ;
@@ -130,9 +129,6 @@ export class TrezorKeyAgent extends KeyAgentBase {
130
129
if ( ! deviceFeatures . success ) {
131
130
throw new errors . TransportError ( 'Failed to get device' , deviceFeatures . payload ) ;
132
131
}
133
- if ( ! ( Object . values ( WhitelistedDeviceModel ) as string [ ] ) . includes ( deviceFeatures . payload . model ) ) {
134
- throw new errors . TransportError ( `Trezor device model "${ deviceFeatures . payload . model } " is not supported.` ) ;
135
- }
136
132
return deviceFeatures . payload ;
137
133
} catch ( error ) {
138
134
throw transportTypedError ( error ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments