Skip to content

Commit

Permalink
fix: call of FilterTx
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeNinjaX committed Dec 18, 2023
1 parent fa71464 commit b4bfe54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ func (app *BaseApp) runTx(mode runTxMode, txBytes []byte) (gInfo sdk.GasInfo, re

defer func() {
if r := recover(); r != nil {
app.logger.Debug("runTx panic recovered", "mode", mode, "error", r)
recoveryMW := newOutOfGasRecoveryMiddleware(gasWanted, ctx, app.runTxRecoveryMiddleware)
err, result = processRecovery(r, recoveryMW), nil
}
Expand Down Expand Up @@ -702,7 +703,7 @@ func (app *BaseApp) runTx(mode runTxMode, txBytes []byte) (gInfo sdk.GasInfo, re
app.logger.Error("Aspect.FilterTx CreateTxPointRequest Error %s", err.Error())
continue
}
receive := app.aspect.FilterTx(request)
receive := app.aspect.FilterTx(nil, request)
hasErr, receiveErr := receive.HasErr()
if hasErr {
app.logger.Error("Aspect.FilterTx Return Error %s", receiveErr.Error())
Expand Down

0 comments on commit b4bfe54

Please sign in to comment.