We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da50ae commit 2e0bd90Copy full SHA for 2e0bd90
src.ts/abi/fragments.ts
@@ -1247,7 +1247,7 @@ export class ConstructorFragment extends Fragment {
1247
}
1248
1249
const result = [ `constructor${ joinParams(format, this.inputs) }` ];
1250
- result.push((this.payable) ? "payable": "nonpayable");
+ if (this.payable) { result.push("payable"); }
1251
if (this.gas != null) { result.push(`@${ this.gas.toString() }`); }
1252
return result.join(" ");
1253
0 commit comments