Skip to content

Commit

Permalink
Force constructor name to be null (instead of undefined).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jan 6, 2020
1 parent e593aba commit a648f2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/abi/src.ts/fragments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ export class ConstructorFragment extends Fragment {
}

return new ConstructorFragment(_constructorGuard, {
name: null,
type: value.type,
inputs: (value.inputs ? value.inputs.map(ParamType.fromObject): []),
payable: state.payable,
Expand Down

0 comments on commit a648f2b

Please sign in to comment.