fix(unorderedtx): issues reported in audit (#21467)

This commit is contained in:
Facundo Medica
2024-09-11 11:46:10 +00:00
committed by GitHub
parent 071aa508eb
commit e9eaefa379
9 changed files with 125 additions and 52 deletions
+3
View File
@@ -173,6 +173,9 @@ func (a *App) Close() error {
// PreBlocker application updates every pre block
func (a *App) PreBlocker(ctx sdk.Context, _ *abci.FinalizeBlockRequest) error {
if a.UnorderedTxManager != nil {
a.UnorderedTxManager.OnNewBlock(ctx.BlockTime())
}
return a.ModuleManager.PreBlock(ctx)
}