core/types: remove unused ErrInvalidTxType var (#32989)

The var `ErrInvalidTxType` is never used in the code base.
This commit is contained in:
cui 2025-10-21 23:49:43 +08:00 committed by Alvarez
parent 024100649b
commit 66e6d4fc55

View file

@ -34,7 +34,6 @@ import (
var (
ErrInvalidSig = errors.New("invalid transaction v, r, s values")
ErrUnexpectedProtection = errors.New("transaction type does not supported EIP-155 protected signatures")
ErrInvalidTxType = errors.New("transaction type not valid in this context")
ErrTxTypeNotSupported = errors.New("transaction type not supported")
ErrGasFeeCapTooLow = errors.New("fee cap less than base fee")
ErrUint256Overflow = errors.New("bigint overflow, too large for uint256")