Skip to content

Commit 86a63d3

Browse files
authored
Merge pull request #451 from persistenceOne/maintenance_revert
ledger fix
2 parents 15bd2a0 + 522faa9 commit 86a63d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/containers/Common/DashboardHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const DashboardHeader = () => {
6666
const addressIndex = loginInfo && loginInfo.accountIndex;
6767
const ledgerApp = localStorage.getItem('ledgerAppName');
6868
const cosmos = ExternalChains.find(chain => chain.chainName === 'Cosmos');
69-
const coinType = ledgerApp === cosmos.ledgerAppName ? cosmos.coinType : DefaultChainInfo.coinType;
69+
const coinType = ledgerApp === cosmos.ledgerAppName ? cosmos.coinType : DefaultChainInfo.deprecatedCoinType;
7070
const [wallet] = await transactions.LedgerWallet(makeHdPath(accountNumber, addressIndex, coinType), DefaultChainInfo.prefix);
7171
await wallet.showAddress(makeHdPath(accountNumber, addressIndex, coinType));
7272
};

src/store/actions/transactions/ledger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const ledgerSubmit = (loginAddress, loginMode) => {
2626

2727
const ledgerApp = localStorage.getItem('ledgerAppName');
2828
const cosmos = ExternalChains.find(chain => chain.chainName === 'Cosmos');
29-
const coinType = ledgerApp === cosmos.ledgerAppName ? cosmos.coinType : DefaultChainInfo.coinType;
29+
const coinType = ledgerApp === cosmos.ledgerAppName ? cosmos.coinType : DefaultChainInfo.deprecatedCoinType;
3030

3131
let mnemonic = "";
3232
if (loginMode !== "ledger") {

0 commit comments

Comments
 (0)