aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:28:43 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:28:43 +0800
commit0f8b2703d19f41adf96d2ec351b4da30d4ce636e (patch)
treeb4ad03e9e11a0df7aa96a0b91edec9d7406a1799
parenta2176f566b760e5ec90856b6d5bccbcb498d3190 (diff)
downloaddexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.gz
dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.zst
dexon-0x-contracts-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.zip
Fix a compiler error with constructor enum
-rw-r--r--packages/abi-gen/src/utils.ts2
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: [],