Merge 184bc53f9d
into cede0cc410
This commit is contained in:
commit
f37235e0a6
@ -36,7 +36,7 @@ class Bytes extends SolidityType implements IType
|
||||
*/
|
||||
public function isType($name)
|
||||
{
|
||||
return (preg_match('/^bytes([0-9]{1,})(\[([0-9]*)\])*$/', $name) === 1);
|
||||
return (preg_match('/^bytes([0-9]{1,})?(\[([0-9]*)\])*$/', $name) === 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user