signer: add bytes32 as valid primitive (#20609)

pull/20234/head
chabashilah 5 years ago committed by GitHub
parent 172f7778fe
commit 8694d14e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      signer/core/signed_data.go

@ -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" ||

Loading…
Cancel
Save