Skip to content

Commit

Permalink
Fixed ParamType formatting causing bad tuple full and minimal ABI out…
Browse files Browse the repository at this point in the history
…put (#4329, #4479).
  • Loading branch information
ricmoo committed Nov 25, 2023
1 parent da34e35 commit 2b67488
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src.ts/abi/fragments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") ? ", ": ",") + ")";
Expand Down

0 comments on commit 2b67488

Please sign in to comment.