aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
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 /packages/abi-gen
parenta2176f566b760e5ec90856b6d5bccbcb498d3190 (diff)
downloaddexon-sol-tools-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar
dexon-sol-tools-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.gz
dexon-sol-tools-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.bz2
dexon-sol-tools-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.lz
dexon-sol-tools-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.xz
dexon-sol-tools-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.tar.zst
dexon-sol-tools-0f8b2703d19f41adf96d2ec351b4da30d4ce636e.zip
Fix a compiler error with constructor enum
Diffstat (limited to 'packages/abi-gen')
-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: [],