diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-03-13 00:52:35 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | 56ade9c44e1a729d98d64b688464118be671983c (patch) | |
tree | 3e8ec74d778c2963b5278a86560b54c8328aa086 /packages/contracts/test/exchange/wrapper.ts | |
parent | 6db0b2e39821f27f6f31a8247159864dacd1d2bd (diff) | |
download | dexon-sol-tools-56ade9c44e1a729d98d64b688464118be671983c.tar dexon-sol-tools-56ade9c44e1a729d98d64b688464118be671983c.tar.gz dexon-sol-tools-56ade9c44e1a729d98d64b688464118be671983c.tar.bz2 dexon-sol-tools-56ade9c44e1a729d98d64b688464118be671983c.tar.lz dexon-sol-tools-56ade9c44e1a729d98d64b688464118be671983c.tar.xz dexon-sol-tools-56ade9c44e1a729d98d64b688464118be671983c.tar.zst dexon-sol-tools-56ade9c44e1a729d98d64b688464118be671983c.zip |
Add private keys for testrpc mnemonic
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts index 0b76c0974..02e57b922 100644 --- a/packages/contracts/test/exchange/wrapper.ts +++ b/packages/contracts/test/exchange/wrapper.ts @@ -91,8 +91,8 @@ describe('Exchange', () => { takerFeeAmount: ZeroEx.toBaseUnitAmount(new BigNumber(1), 18), }; - const secretKey = constants.TESTRPC_ACCOUNTS[0].secretKey; - orderFactory = new OrderFactory(secretKey, defaultOrderParams); + const privateKey = constants.TESTRPC_PRIVATE_KEYS[0]; + orderFactory = new OrderFactory(privateKey, defaultOrderParams); dmyBalances = new Balances([rep, dgd, zrx], [makerAddress, takerAddress, feeRecipientAddress]); await Promise.all([ rep.approve.sendTransactionAsync(tokenTransferProxy.address, INITIAL_ALLOWANCE, { from: makerAddress }), |