diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-12 01:18:02 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | cc77f8489e5a176406d4871772fcbae58703bafc (patch) | |
tree | ec7853d21d5bf9d62aaab3b47249c3032a100ba5 /packages/contracts/test/exchange/wrapper.ts | |
parent | 564ddff4c72cb86be1bce0e4bdea4e5d7b5d63be (diff) | |
download | dexon-0x-contracts-cc77f8489e5a176406d4871772fcbae58703bafc.tar.gz dexon-0x-contracts-cc77f8489e5a176406d4871772fcbae58703bafc.tar.zst dexon-0x-contracts-cc77f8489e5a176406d4871772fcbae58703bafc.zip |
nilAddress to ZeroEx.NULL_ADDRESS
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts index 708ac5562..5b0564fd2 100644 --- a/packages/contracts/test/exchange/wrapper.ts +++ b/packages/contracts/test/exchange/wrapper.ts @@ -114,17 +114,16 @@ describe('Exchange', () => { await tokenTransferProxy.addAuthorizedAddress.sendTransactionAsync(erc20TransferProxyV1.address, { from: accounts[0], }); - const nilAddress = '0x0000000000000000000000000000000000000000'; await assetProxyDispatcher.addAssetProxy.sendTransactionAsync( AssetProxyId.ERC20_V1, erc20TransferProxyV1.address, - nilAddress, + ZeroEx.NULL_ADDRESS, { from: accounts[0] }, ); await assetProxyDispatcher.addAssetProxy.sendTransactionAsync( AssetProxyId.ERC20, erc20TransferProxy.address, - nilAddress, + ZeroEx.NULL_ADDRESS, { from: accounts[0] }, ); const zeroEx = new ZeroEx(provider, { networkId: constants.TESTRPC_NETWORK_ID }); |