Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmain committed Apr 17, 2024
1 parent 04cb9ed commit 26af514
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/hardware-ledger/src/LedgerKeyAgent.ts
Expand Up @@ -90,11 +90,6 @@ const hasRegistrationOrRetirementCerts = (certificates: Certificate[] | null | u
);
};

const stakeCredentialCert = (cert: Certificate) =>
cert.type === CertificateType.STAKE_REGISTRATION ||
cert.type === CertificateType.STAKE_DEREGISTRATION ||
cert.type === CertificateType.STAKE_DELEGATION;

const isLedgerModelSupported = (deviceModelId: string): deviceModelId is 'nanoS' | 'nanoX' | 'nanoSP' =>
['nanoS', 'nanoX', 'nanoSP'].includes(deviceModelId);

Expand Down

0 comments on commit 26af514

Please sign in to comment.