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
  • Loading branch information
ricmoo authored and Woodpile37 committed Jan 14, 2024
1 parent 7210bab commit 4abb5f6
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 4abb5f6

Please sign in to comment.