accounts/abi: fixed comments

This commit is contained in:
Jeffrey Wilcke
2016-12-14 23:34:27 +01:00
committed by Péter Szilágyi
parent fc213c873d
commit 47372813ef
2 changed files with 5 additions and 5 deletions

View File

@ -91,8 +91,9 @@ func NewType(t string) (typ Type, err error) {
}
typ.Elem = &sliceType
typ.stringKind = sliceType.stringKind + t[len(res[1]):]
//Altough we know that this is an array, we cannot return as we don't
//know the type of the element, however, if it is still an array, then don't determine the type
// Altough we know that this is an array, we cannot return
// as we don't know the type of the element, however, if it
// is still an array, then don't determine the type.
if typ.Elem.IsArray {
return typ, nil
}