File tree 1 file changed +0
-5
lines changed
packages/hardware-ledger/src
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,6 @@ const stakeCredentialCert = (cert: Certificate) =>
98
98
cert . type === CertificateType . STAKE_REGISTRATION ||
99
99
cert . type === CertificateType . STAKE_DEREGISTRATION ||
100
100
cert . type === CertificateType . STAKE_DELEGATION ;
101
- const isLedgerModelSupported = ( deviceModelId : string ) : deviceModelId is 'nanoS' | 'nanoX' | 'nanoSP' =>
102
- [ 'nanoS' , 'nanoX' , 'nanoSP' ] . includes ( deviceModelId ) ;
103
101
104
102
const establishDeviceConnectionMethodName = 'establishDeviceConnection' ;
105
103
@@ -384,9 +382,6 @@ export class LedgerKeyAgent extends KeyAgentBase {
384
382
if ( ! transport || ! transport . deviceModel ) {
385
383
throw new errors . TransportError ( 'Missing transport' ) ;
386
384
}
387
- if ( ! isLedgerModelSupported ( transport . deviceModel . id ) ) {
388
- throw new errors . TransportError ( `Ledger device model: "${ transport . deviceModel . id } " is not supported` ) ;
389
- }
390
385
391
386
const newConnection = await LedgerKeyAgent . createDeviceConnection ( transport ) ;
392
387
this . rememberConnection ( {
You can’t perform that action at this time.
0 commit comments