@@ -286,24 +286,26 @@ func (t *TypedData) UnmarshalJSON(data []byte) error {
286286 return fmt .Errorf ("primary type '%s' is not defined" , raw .PrimaryType )
287287 }
288288 primaryDomainTypeMap := typedDataTypeMap (primaryDomainType )
289- fmt .Println ("===> primaryDomainType" , primaryDomainTypeMap )
289+ // fmt.Println("===> primaryDomainType", primaryDomainTypeMap)
290290
291291 // Decode the message map into the typedData struct
292292 processedMessage := make (map [string ]interface {})
293293 for k , v := range raw .Message {
294- fmt .Println ("===> k" , k , "v" , v )
294+ // fmt.Println("===> k", k, "v", v)
295295
296296 typ , ok := primaryDomainTypeMap [k ]
297297 if ! ok {
298298 return fmt .Errorf ("type %s is not defined" , k )
299299 }
300- fmt .Println ("===> typ" , k , typ )
300+ // fmt.Println("===> typ", k, typ)
301301
302302 // ...
303303 customType , ok := raw .Types [typ ]
304304 if ok {
305305 val := fmt .Sprintf ("%v" , v )
306- fmt .Println ("===> customType" , customType , val )
306+ _ = customType
307+ _ = val
308+ // fmt.Println("===> customType", customType, val)
307309 // processedMessage[k] = val
308310
309311 // ............
0 commit comments