aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
diff options
context:
space:
mode:
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: [],