From 18d4e1b5388285f57f52fe9aa16dd4368e0d5888 Mon Sep 17 00:00:00 2001 From: Solovyov1796 Date: Fri, 7 Mar 2025 18:21:02 +0800 Subject: [PATCH] remove app mempool limit --- cmd/0gchaind/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/0gchaind/app.go b/cmd/0gchaind/app.go index c1180491..c4ed932c 100644 --- a/cmd/0gchaind/app.go +++ b/cmd/0gchaind/app.go @@ -110,7 +110,7 @@ func (ac appCreator) newApp( skipLoadLatest = cast.ToBool(appOpts.Get(flagSkipLoadLatest)) } mempoolMaxTxs := cast.ToInt(appOpts.Get(server.FlagMempoolMaxTxs)) - mempool := app.NewPriorityMempool(app.PriorityNonceWithMaxTx(mempoolMaxTxs)) + mempool := app.NewPriorityMempool() bApp := app.NewBaseApp(logger, db, ac.encodingConfig, baseapp.SetPruning(pruningOpts),