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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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], |
|
|
|
} |
|
|
|
|
|
|
|