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/helpers.ts | |
parent | 564ddff4c72cb86be1bce0e4bdea4e5d7b5d63be (diff) | |
download | dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar.gz dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar.bz2 dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar.lz dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar.xz dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.tar.zst dexon-sol-tools-cc77f8489e5a176406d4871772fcbae58703bafc.zip |
nilAddress to ZeroEx.NULL_ADDRESS
Diffstat (limited to 'packages/contracts/test/exchange/helpers.ts')
-rw-r--r-- | packages/contracts/test/exchange/helpers.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/helpers.ts b/packages/contracts/test/exchange/helpers.ts index 7a267a3e9..ab5419e4f 100644 --- a/packages/contracts/test/exchange/helpers.ts +++ b/packages/contracts/test/exchange/helpers.ts @@ -64,17 +64,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 }); |