From f75aaebe29fda951891dc290d756497ff3cef8b1 Mon Sep 17 00:00:00 2001 From: chabashilah Date: Fri, 31 Jan 2020 16:09:34 +0900 Subject: [PATCH] Added conditions for bytes32 at isPrimitiveTypeValid --- 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 f512be7ceaec..3a827afa2d9f 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" ||