Skip to content

Commit

Permalink
Remove allowUnprotectedTxs
Browse files Browse the repository at this point in the history
  • Loading branch information
expertdicer committed Jan 21, 2025
1 parent 0ef4099 commit 03ff031
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/evmante/evmante_sigverify.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ func (esvd EthSigVerificationDecorator) AnteHandle(
)
}

allowUnprotectedTxs := false
ethTx := msgEthTx.AsTransaction()
if !allowUnprotectedTxs && !ethTx.Protected() {
if !ethTx.Protected() {
return ctx, errors.Wrapf(
sdkerrors.ErrNotSupported,
"rejected unprotected Ethereum transaction. "+
Expand Down

0 comments on commit 03ff031

Please sign in to comment.