From e8c96dc2c61f6b57231d8bcd416ed1dc0be03765 Mon Sep 17 00:00:00 2001 From: devopsbo3 <69951731+devopsbo3@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:27:53 -0600 Subject: [PATCH] Revert "core/txpool : fix map size avoid resizing (#27221)" This reverts commit cd43de777d9121df7c5a66a30c070121adfaf223. --- core/txpool/txpool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/txpool/txpool.go b/core/txpool/txpool.go index 056b1ebe87..4928b5afc6 100644 --- a/core/txpool/txpool.go +++ b/core/txpool/txpool.go @@ -549,7 +549,7 @@ func (pool *TxPool) Pending(enforceTips bool) map[common.Address]types.Transacti pool.mu.Lock() defer pool.mu.Unlock() - pending := make(map[common.Address]types.Transactions, len(pool.pending)) + pending := make(map[common.Address]types.Transactions) for addr, list := range pool.pending { txs := list.Flatten()