signer: add bytes32 as valid primitive (#20609)
This commit is contained in:
parent
172f7778fe
commit
8694d14e65
|
@ -923,7 +923,9 @@ func isPrimitiveTypeValid(primitiveType string) bool {
|
||||||
primitiveType == "bytes30" ||
|
primitiveType == "bytes30" ||
|
||||||
primitiveType == "bytes30[]" ||
|
primitiveType == "bytes30[]" ||
|
||||||
primitiveType == "bytes31" ||
|
primitiveType == "bytes31" ||
|
||||||
primitiveType == "bytes31[]" {
|
primitiveType == "bytes31[]" ||
|
||||||
|
primitiveType == "bytes32" ||
|
||||||
|
primitiveType == "bytes32[]" {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if primitiveType == "int" ||
|
if primitiveType == "int" ||
|
||||||
|
|
Loading…
Reference in New Issue