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/core.ts | |
parent | 564ddff4c72cb86be1bce0e4bdea4e5d7b5d63be (diff) | |
download | dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar.gz dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar.zst dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.zip |
nilAddress to ZeroEx.NULL_ADDRESS
Diffstat (limited to 'packages/contracts/test/exchange/core.ts')
-rw-r--r-- | packages/contracts/test/exchange/core.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts index 58b528062..d95dbea35 100644 --- a/packages/contracts/test/exchange/core.ts +++ b/packages/contracts/test/exchange/core.ts @@ -149,23 +149,22 @@ 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] }, ); await assetProxyDispatcher.addAssetProxy.sendTransactionAsync( AssetProxyId.ERC721, erc721TransferProxy.address, - nilAddress, + ZeroEx.NULL_ADDRESS, { from: accounts[0] }, ); zeroEx = new ZeroEx(provider, { |