Skip to content

Commit 6608a2a

Browse files
authored
core/types: remove unused ErrInvalidTxType var (#32989)
The var `ErrInvalidTxType` is never used in the code base.
1 parent 407d9fa commit 6608a2a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/types/transaction.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import (
3434
var (
3535
ErrInvalidSig = errors.New("invalid transaction v, r, s values")
3636
ErrUnexpectedProtection = errors.New("transaction type does not supported EIP-155 protected signatures")
37-
ErrInvalidTxType = errors.New("transaction type not valid in this context")
3837
ErrTxTypeNotSupported = errors.New("transaction type not supported")
3938
ErrGasFeeCapTooLow = errors.New("fee cap less than base fee")
4039
ErrUint256Overflow = errors.New("bigint overflow, too large for uint256")

0 commit comments

Comments
 (0)