Combine contract type get/init (#2718)

This commit is contained in:
Jaco Greeff
2020-10-13 10:44:50 +02:00
committed by GitHub
parent bfd3113a55
commit 75f86bb43e
3 changed files with 25 additions and 27 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export default class Abi extends ContractRegistry {
isMutating: spec.mutates.isTrue,
isPayable: spec.payable.isTrue,
returnType: typeSpec
? this.typeDefAt(typeSpec.type, { displayName: typeSpec.displayName.map((s) => s.toString()).join('::') || undefined })
? this.typeDefAt(typeSpec.type)
: null
});
});