mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
Update core/txpool/validation.go
Co-authored-by: Raneet Debnath <35629432+Raneet10@users.noreply.github.com>
This commit is contained in:
parent
91ff270cd9
commit
968267957e
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ func ValidateTransaction(tx *types.Transaction, blobs []kzg4844.Blob, commits []
|
|||
return core.ErrTipAboveFeeCap
|
||||
}
|
||||
// Make sure the transaction is signed properly
|
||||
if _, err := types.Sender(signer, tx); err != nil || !opts.AllowUnprotectedTxs {
|
||||
if _, err := types.Sender(signer, tx); err != nil && !opts.AllowUnprotectedTxs {
|
||||
return ErrInvalidSender
|
||||
}
|
||||
// Ensure the transaction has more gas than the bare minimum needed to cover
|
||||
|
|
|
|||
Loading…
Reference in a new issue