Skip to content

Commit

Permalink
remove unused codes
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Jun 16, 2023
1 parent 8ffdb99 commit dc0f039
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,6 @@ func (app *BaseApp) PreBeginBlock(req abci.RequestPreBeginBlock) (res abci.Respo
app.cms.SetTracingContext(map[string]interface{}{"blockHeight": req.Header.Height})
}

if err := app.validateHeight(abci.RequestBeginBlock{Header: req.Header}); err != nil {
return abci.ResponsePrefetch{Error: err.Error()}
}

// Initialize the preDeliverTx state.
app.setPreState(req.StateIndex, req.Header)

Expand Down

0 comments on commit dc0f039

Please sign in to comment.