diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-26 07:32:13 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:11 +0800 |
commit | dc7092e1eb11ff9844efe02e367ef37592f38c55 (patch) | |
tree | d0031a5731ee0d01b5190a400236e2c86e90ae86 /packages/utils/src/abi_encoder/evm_data_types/array.ts | |
parent | c638151b73289fc936bb7d4323711d1954cc4fcb (diff) | |
download | dexon-0x-contracts-dc7092e1eb11ff9844efe02e367ef37592f38c55.tar dexon-0x-contracts-dc7092e1eb11ff9844efe02e367ef37592f38c55.tar.gz dexon-0x-contracts-dc7092e1eb11ff9844efe02e367ef37592f38c55.tar.bz2 dexon-0x-contracts-dc7092e1eb11ff9844efe02e367ef37592f38c55.tar.lz dexon-0x-contracts-dc7092e1eb11ff9844efe02e367ef37592f38c55.tar.xz dexon-0x-contracts-dc7092e1eb11ff9844efe02e367ef37592f38c55.tar.zst dexon-0x-contracts-dc7092e1eb11ff9844efe02e367ef37592f38c55.zip |
Removed mapDataItemToDataType from Factory. Now its just ::create()
Diffstat (limited to 'packages/utils/src/abi_encoder/evm_data_types/array.ts')
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_types/array.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_types/array.ts b/packages/utils/src/abi_encoder/evm_data_types/array.ts index 9963b6f32..dd8184fd0 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/array.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/array.ts @@ -44,7 +44,7 @@ export class Array extends MemberDataType { if (components !== undefined) { dataItem.components = components; } - const elementDataType = this.getFactory().mapDataItemToDataType(dataItem); + const elementDataType = this.getFactory().create(dataItem); const type = elementDataType.getSignature(); if (this._arrayLength === undefined) { return `${type}[]`; |