File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/ledger-amino/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { assert } from "@cosmjs/utils";
66import Transport from "@ledgerhq/hw-transport" ;
77// eslint-disable-next-line @typescript-eslint/naming-convention
88import CosmosApp from "@zondax/ledger-cosmos-js" ;
9- import semver from "semver" ;
9+ import semverGte from "semver/functions/gte.js " ;
1010
1111const cosmosHdPath = makeCosmoshubPath ( 0 ) ;
1212const cosmosBech32Prefix = "cosmos" ;
@@ -125,7 +125,7 @@ export class LedgerConnector {
125125
126126 private async verifyAppVersion ( ) : Promise < void > {
127127 const version = await this . getCosmosAppVersion ( ) ;
128- if ( ! semver . gte ( version , this . minLedgerAppVersion ) ) {
128+ if ( ! semverGte ( version , this . minLedgerAppVersion ) ) {
129129 throw new Error (
130130 `Outdated version: Please update ${ this . ledgerAppName } Ledger App to the latest version.` ,
131131 ) ;
You can’t perform that action at this time.
0 commit comments