diff --git a/common/types.go b/common/types.go index 284929e084..b6ea1f64c6 100644 --- a/common/types.go +++ b/common/types.go @@ -226,7 +226,7 @@ func (a Address) Hash() Hash { return BytesToHash(a[:]) } func (a Address) Hex() string { unchecksummed := hex.EncodeToString(a[:]) sha := sha3.NewKeccak256() - sha.Write([]byte(unchecksummed)) + _, _ = sha.Write([]byte(unchecksummed)) hash := sha.Sum(nil) result := []byte(unchecksummed)