mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Added conditions for bytes32 at isPrimitiveTypeValid
This commit is contained in:
parent
24cab2d535
commit
f75aaebe29
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue