From 2b6748815169abf2c99a647131875c13b8b6a787 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Sat, 25 Nov 2023 17:45:29 -0500 Subject: [PATCH] Fixed ParamType formatting causing bad tuple full and minimal ABI output (#4329, #4479). --- src.ts/abi/fragments.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src.ts/abi/fragments.ts b/src.ts/abi/fragments.ts index 487ba6c822..6fce9a798b 100644 --- a/src.ts/abi/fragments.ts +++ b/src.ts/abi/fragments.ts @@ -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") ? ", ": ",") + ")";