We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cb7a8 commit aa48130Copy full SHA for aa48130
app/ante/evm_checktx.go
@@ -92,8 +92,11 @@ func EvmCheckTxAnte(
92
return ctx, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
93
}
94
95
- etx, txData := msg.AsTransaction()
96
- // need to check for error here - previously
+ etx, txData, err := msg.AsTransaction()
+ if err != nil {
97
+ return ctx, err
98
+ }
99
+
100
if atx, ok := txData.(*ethtx.AssociateTx); ok {
101
return HandleAssociateTx(ctx, ek, atx)
102
0 commit comments