diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-18 19:30:34 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-18 19:30:34 +0800 |
commit | 064405126d7e198c6c3363416abf3b1bc16acc6a (patch) | |
tree | 58963390e2a8ff191ddf35efb2cd2612304a79e0 /packages/subproviders/test | |
parent | 6d447fd8a509118dca4f52c4939782e67f4f1076 (diff) | |
download | dexon-sol-tools-064405126d7e198c6c3363416abf3b1bc16acc6a.tar dexon-sol-tools-064405126d7e198c6c3363416abf3b1bc16acc6a.tar.gz dexon-sol-tools-064405126d7e198c6c3363416abf3b1bc16acc6a.tar.bz2 dexon-sol-tools-064405126d7e198c6c3363416abf3b1bc16acc6a.tar.lz dexon-sol-tools-064405126d7e198c6c3363416abf3b1bc16acc6a.tar.xz dexon-sol-tools-064405126d7e198c6c3363416abf3b1bc16acc6a.tar.zst dexon-sol-tools-064405126d7e198c6c3363416abf3b1bc16acc6a.zip |
Implement the address derivations
Diffstat (limited to 'packages/subproviders/test')
-rw-r--r-- | packages/subproviders/test/unit/ledger_subprovider_test.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/subproviders/test/unit/ledger_subprovider_test.ts b/packages/subproviders/test/unit/ledger_subprovider_test.ts index bd4d93325..237090051 100644 --- a/packages/subproviders/test/unit/ledger_subprovider_test.ts +++ b/packages/subproviders/test/unit/ledger_subprovider_test.ts @@ -18,7 +18,7 @@ import {reportCallbackErrors} from '../utils/report_callback_errors'; chaiSetup.configure(); const expect = chai.expect; -const FAKE_ADDRESS = '0x9901c66f2d4b95f7074b553da78084d708beca70'; +const FAKE_ADDRESS = '0xb088a3bc93f71b4de97b9de773e9647645983688'; describe('LedgerSubprovider', () => { const networkId: number = 42; @@ -28,8 +28,14 @@ describe('LedgerSubprovider', () => { // tslint:disable:no-object-literal-type-assertion const ledgerEthClient = { getAddress_async: async () => { + // tslint:disable-next-line:max-line-length + const publicKey = '04f428290f4c5ed6a198f71b8205f488141dbb3f0840c923bbfa798ecbee6370986c03b5575d94d506772fb48a6a44e345e4ebd4f028a6f609c44b655d6d3e71a1'; + const chainCode = 'ac055a5537c0c7e9e02d14a197cad6b857836da2a12043b46912a37d959b5ae8'; + const address = '0xBa388BA5e5EEF2c6cE42d831c2B3A28D3c99bdB1'; return { - address: FAKE_ADDRESS, + publicKey, + address, + chainCode, }; }, signPersonalMessage_async: async () => { |