From 9b4ea90132426dfc944f3e14bd023d1876af9f6e Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Tue, 21 Oct 2025 22:07:32 +0800 Subject: [PATCH] core/types: remove unused var --- core/types/transaction.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/types/transaction.go b/core/types/transaction.go index e98563b85fc..6af960b8c3e 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -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")