From 8694d14e655a20d70e51b7c4605d63d53de8d351 Mon Sep 17 00:00:00 2001
From: chabashilah <doumodoumo@gmail.com>
Date: Tue, 11 Feb 2020 18:52:51 +0900
Subject: [PATCH] signer: add bytes32 as valid primitive (#20609)

---
 signer/core/signed_data.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/signer/core/signed_data.go b/signer/core/signed_data.go
index f512be7ce..3a827afa2 100644
--- a/signer/core/signed_data.go
+++ b/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" ||
-- 
GitLab