@binance-chain/bsc-ledger-bridge-keyring
Advanced tools
Comparing version 0.2.8 to 0.2.9
12
index.js
@@ -171,13 +171,3 @@ const { EventEmitter } = require('events') | ||
if (this._isBIP44()) { | ||
const checksummedAddress = ethUtil.toChecksumAddress(address) | ||
if (!Object.keys(this.accountIndexes).includes(checksummedAddress)) { | ||
reject( | ||
new Error( | ||
`Ledger: Index for address '${checksummedAddress}' not found`, | ||
), | ||
) | ||
} | ||
hdPath = this._getPathForIndex( | ||
this.accountIndexes[checksummedAddress], | ||
) | ||
hdPath = this._getPathForIndex(0) | ||
} else { | ||
@@ -184,0 +174,0 @@ hdPath = this._toLedgerPath(this._pathFromAddress(address)) |
{ | ||
"name": "@binance-chain/bsc-ledger-bridge-keyring", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "A MetaMask compatible keyring, for ledger hardware wallets", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
14524
418