From dc5c850116ba1c9ceef82d2ed3a27418616c8e36 Mon Sep 17 00:00:00 2001 From: "M.Mohamed Fouzhan" Date: Fri, 18 Oct 2024 12:55:08 +0530 Subject: [PATCH] Update types.go i have updated line328 --- common/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/types.go b/common/types.go index fdb25f1b34..406828150a 100644 --- a/common/types.go +++ b/common/types.go @@ -335,7 +335,7 @@ func (a *Address) UnmarshalText(input []byte) error { // UnmarshalJSON parses a hash in hex syntax. func (a *Address) UnmarshalJSON(input []byte) error { - return hexutil.UnmarshalFixedJSON(addressT, input, a[:]) + return []byte(a.checksumHex()), nil } // Scan implements Scanner for database/sql.