diff --git a/cmd/0gchaind/app.go b/cmd/0gchaind/app.go index f09ec847..6f5dcb00 100644 --- a/cmd/0gchaind/app.go +++ b/cmd/0gchaind/app.go @@ -107,7 +107,7 @@ func (ac appCreator) newApp( skipLoadLatest = cast.ToBool(appOpts.Get(flagSkipLoadLatest)) } - mempool := app.NewPriorityMempool() + mempool := app.NewPriorityMempool(app.PriorityNonceWithMaxTx(cast.ToInt(appOpts.Get(server.FlagMempoolMaxTxs)))) bApp := app.NewBaseApp(logger, db, ac.encodingConfig, baseapp.SetPruning(pruningOpts),