fix struct test

pull/7/head
yann300 8 years ago
parent 0e76ee5d32
commit c62616543d
  1. 2
      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)
}

Loading…
Cancel
Save