Skip to content

Commit

Permalink
chore: change mempool variable name
Browse files Browse the repository at this point in the history
mempool is a package name, so we should avoid naming conflict
  • Loading branch information
zsystm committed Jun 4, 2024
1 parent 808bb60 commit f3a2bc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ func NewEthermintApp(
// NOTE we use custom transaction decoder that supports the sdk.Tx interface instead of sdk.StdTx
// Setup Mempool and Proposal Handlers
baseAppOptions = append(baseAppOptions, func(app *baseapp.BaseApp) {
mempool := mempool.NoOpMempool{}
app.SetMempool(mempool)
handler := baseapp.NewDefaultProposalHandler(mempool, app)
mpool := mempool.NoOpMempool{}
app.SetMempool(mpool)
handler := baseapp.NewDefaultProposalHandler(mpool, app)
app.SetPrepareProposal(handler.PrepareProposalHandler())
app.SetProcessProposal(handler.ProcessProposalHandler())
})
Expand Down

0 comments on commit f3a2bc1

Please sign in to comment.