Skip to content

Commit 66f0f20

Browse files
committed
fix tests
1 parent c030c1a commit 66f0f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api-contract/src/Abi/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class Abi {
110110
);
111111
this.constructors = this.metadata.spec.constructors.map((spec: ContractConstructorSpecLatest, index) => {
112112
const isDefault = 'default' in spec ? spec.default.isTrue : undefined;
113-
const typeSpec = spec.returnType.unwrapOr(null);
113+
const typeSpec = '' in spec ? spec.returnType.unwrapOr(null) : null;
114114

115115
return this.#createMessage(spec, index, {
116116
isConstructor: true,

0 commit comments

Comments
 (0)