feat(baseapp): expose Mempool (#17954)

This commit is contained in:
Devon Bear
2023-10-09 11:10:36 +00:00
committed by GitHub
parent 71aa61d74f
commit 68a136b48d
+5
View File
@@ -406,6 +406,11 @@ func (app *BaseApp) AnteHandler() sdk.AnteHandler {
return app.anteHandler
}
// Mempool returns the Mempool of the app.
func (app *BaseApp) Mempool() mempool.Mempool {
return app.mempool
}
// Init initializes the app. It seals the app, preventing any
// further modifications. In addition, it validates the app against
// the earlier provided settings. Returns an error if validation fails.