Skip to content

Commit

Permalink
Merge branch 'arpit/fix-shadowfork' of github.com:maticnetwork/bor in…
Browse files Browse the repository at this point in the history
…to arpit/fix-shadowfork
  • Loading branch information
temaniarpit27 committed Dec 3, 2023
2 parents 4e3e1de + 9682679 commit 073d75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 073d75c

Please sign in to comment.