Browse Source

Merge pull request #947 from gre/etc-scan-eth-path

Fix not seeing legacy ETC address (derivated from ETH path)
master
Gaëtan Renaudeau 7 years ago
committed by GitHub
parent
commit
2a7742761c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/helpers/derivations.js

4
src/helpers/derivations.js

@ -9,13 +9,13 @@ type Derivation = ({
const ethLegacyMEW: Derivation = ({ x }) => `44'/60'/0'/${x}`
const etcLegacyMEW: Derivation = ({ x }) => `44'/60'/160720'/${x}`
const etcLegacyMEW: Derivation = ({ x }) => `44'/60'/160720'/${x}'/0`
const rippleLegacy: Derivation = ({ x }) => `44'/144'/0'/${x}'`
const legacyDerivations = {
ethereum: [ethLegacyMEW],
ethereum_classic: [etcLegacyMEW],
ethereum_classic: [ethLegacyMEW, etcLegacyMEW],
ripple: [rippleLegacy],
}

Loading…
Cancel
Save