Added conditions for bytes32 at isPrimitiveTypeValid

This commit is contained in:
chabashilah 2020-01-31 16:09:34 +09:00
parent 24cab2d535
commit f75aaebe29

View file

@ -923,7 +923,9 @@ func isPrimitiveTypeValid(primitiveType string) bool {
primitiveType == "bytes30" ||
primitiveType == "bytes30[]" ||
primitiveType == "bytes31" ||
primitiveType == "bytes31[]" {
primitiveType == "bytes31[]" ||
primitiveType == "bytes32" ||
primitiveType == "bytes32[]" {
return true
}
if primitiveType == "int" ||