diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-02 18:31:02 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-02 18:31:02 +0800 |
commit | d861caca23cd87d162c0d4be62c04d9842c6b84f (patch) | |
tree | 4abfea6770015d8d676aca51bf1cf00e693f0143 /packages/contracts/test/utils/core_combinatorial_utils.ts | |
parent | 590033bcb27c9e8299c1cb56b75f9a64d674affb (diff) | |
download | dexon-0x-contracts-d861caca23cd87d162c0d4be62c04d9842c6b84f.tar dexon-0x-contracts-d861caca23cd87d162c0d4be62c04d9842c6b84f.tar.gz dexon-0x-contracts-d861caca23cd87d162c0d4be62c04d9842c6b84f.tar.bz2 dexon-0x-contracts-d861caca23cd87d162c0d4be62c04d9842c6b84f.tar.lz dexon-0x-contracts-d861caca23cd87d162c0d4be62c04d9842c6b84f.tar.xz dexon-0x-contracts-d861caca23cd87d162c0d4be62c04d9842c6b84f.tar.zst dexon-0x-contracts-d861caca23cd87d162c0d4be62c04d9842c6b84f.zip |
Fix bug where 18 decimal tokens instead of 5 decimal tokens created
Diffstat (limited to 'packages/contracts/test/utils/core_combinatorial_utils.ts')
-rw-r--r-- | packages/contracts/test/utils/core_combinatorial_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/utils/core_combinatorial_utils.ts b/packages/contracts/test/utils/core_combinatorial_utils.ts index 03b09521d..38723d53d 100644 --- a/packages/contracts/test/utils/core_combinatorial_utils.ts +++ b/packages/contracts/test/utils/core_combinatorial_utils.ts @@ -75,7 +75,7 @@ export async function coreCombinatorialUtilsFactoryAsync( const zrxAssetData = assetProxyUtils.encodeERC20AssetData(zrxToken.address); const erc20FiveDecimalTokenCount = 2; - const fiveDecimals = new BigNumber(18); + const fiveDecimals = new BigNumber(5); const [erc20FiveDecimalTokenA, erc20FiveDecimalTokenB] = await erc20Wrapper.deployDummyTokensAsync( erc20FiveDecimalTokenCount, fiveDecimals, |