mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-20 14:59:26 +00:00
signer: add bytes32 as valid primitive (#20609)
This commit is contained in:
parent
172f7778fe
commit
8694d14e65
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