diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:28:43 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:28:43 +0800 |
commit | 0f8b2703d19f41adf96d2ec351b4da30d4ce636e (patch) | |
tree | b4ad03e9e11a0df7aa96a0b91edec9d7406a1799 /packages/abi-gen/src/utils.ts | |
parent | a2176f566b760e5ec90856b6d5bccbcb498d3190 (diff) | |
download | dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.gz dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.bz2 dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.lz dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.xz dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.zst dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.zip |
Fix a compiler error with constructor enum
Diffstat (limited to 'packages/abi-gen/src/utils.ts')
-rw-r--r-- | packages/abi-gen/src/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/abi-gen/src/utils.ts b/packages/abi-gen/src/utils.ts index f6291d98d..b9149e850 100644 --- a/packages/abi-gen/src/utils.ts +++ b/packages/abi-gen/src/utils.ts @@ -64,7 +64,7 @@ export const utils = { }, getEmptyConstructor(): Web3.ConstructorAbi { return { - type: 'constructor', + type: Web3.AbiType.Constructor, stateMutability: 'nonpayable', payable: false, inputs: [], |