diff --git a/src/ui/SolidityTypeFormatter.js b/src/ui/SolidityTypeFormatter.js index 9f34f43edb..6d0d0b342e 100644 --- a/src/ui/SolidityTypeFormatter.js +++ b/src/ui/SolidityTypeFormatter.js @@ -51,5 +51,5 @@ function isArray (type) { } function isStruct (type) { - return type.indexOf('struct') === 0 + return type.indexOf('struct') === 0 && !isArray(type) }