Skip to content

Commit

Permalink
remove error is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Apr 23, 2024
1 parent 70bffb8 commit f5da247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ func (app *BaseApp) runTx(mode execMode, txBytes []byte) (gInfo sdk.GasInfo, res
if mode == execModeReCheck {
// if the ante handler fails on recheck, we want to remove the tx from the mempool
err := app.mempool.Remove(tx)
if err != nil && errors.Is(err, mempool.ErrTxNotFound) {
if err != nil {
return gInfo, nil, anteEvents, errors.Join(err, err)
}
}
Expand Down

0 comments on commit f5da247

Please sign in to comment.