Fixed ParamType formatting causing bad tuple full and minimal ABI output (#4329, #4479).

This commit is contained in:
Richard Moore 2023-11-25 17:45:29 -05:00
parent da34e3569e
commit 2b67488151

@ -645,7 +645,6 @@ export class ParamType {
result += `[${ (this.arrayLength < 0 ? "": String(this.arrayLength)) }]`;
} else {
if (this.isTuple()) {
if (format !== "sighash") { result += this.type; }
result += "(" + this.components.map(
(comp) => comp.format(format)
).join((format === "full") ? ", ": ",") + ")";