From 783d46f29ebc00a4b6b8222d485c8de60df92196 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Thu, 20 Feb 2025 11:07:50 +0800 Subject: [PATCH] core/types: remove unused error variables --- core/types/transaction.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/types/transaction.go b/core/types/transaction.go index a9e3903881..e99519d5c7 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -39,11 +39,6 @@ var ( ErrTxTypeNotSupported = errors.New("transaction type not supported") ErrGasFeeCapTooLow = errors.New("fee cap less than base fee") errShortTypedTx = errors.New("typed transaction too short") - errInvalidYParity = errors.New("'yParity' field must be 0 or 1") - errVYParityMismatch = errors.New("'v' and 'yParity' fields do not match") - errVYParityMissing = errors.New("missing 'yParity' or 'v' field in transaction") - errNoSigner = errors.New("missing signing methods") - ErrFeeCapTooLow = errors.New("fee cap less than base fee") skipNonceDestinationAddress = map[common.Address]bool{ common.XDCXAddrBinary: true,