From 4026c8bcc005b65b53993f87b8a65d2b6c7cb011 Mon Sep 17 00:00:00 2001 From: Somnath Banerjee Date: Thu, 24 Oct 2024 16:08:15 +0530 Subject: [PATCH] Fix lint --- core/types/authorization.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/types/authorization.go b/core/types/authorization.go index 154c42b6195..7c6acbfbb85 100644 --- a/core/types/authorization.go +++ b/core/types/authorization.go @@ -75,10 +75,10 @@ func (ath *Authorization) RecoverSigner(data *bytes.Buffer, b []byte) (*libcommo return nil, errors.New("Failed assertion: auth.nonce < 2**64 - 1") } if _, overflow := ath.ChainID.Uint64WithOverflow(); overflow { - return nil, fmt.Errorf("Failed assertion: auth.chain_id < 2**64") + return nil, errors.New("Failed assertion: auth.chain_id < 2**64") } if ath.V.GtUint64(1 << 8) { - return nil, fmt.Errorf("Failed assertion: auth.y_parity < 2**8") + return nil, errors.New("Failed assertion: auth.y_parity < 2**8") } if ath.V.Eq(u256.Num0) || ath.V.Eq(u256.Num1) {