Skip to content

Commit 8694d14

Browse files
authored
signer: add bytes32 as valid primitive (#20609)
1 parent 172f777 commit 8694d14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

signer/core/signed_data.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,9 @@ func isPrimitiveTypeValid(primitiveType string) bool {
923923
primitiveType == "bytes30" ||
924924
primitiveType == "bytes30[]" ||
925925
primitiveType == "bytes31" ||
926-
primitiveType == "bytes31[]" {
926+
primitiveType == "bytes31[]" ||
927+
primitiveType == "bytes32" ||
928+
primitiveType == "bytes32[]" {
927929
return true
928930
}
929931
if primitiveType == "int" ||

0 commit comments

Comments
 (0)