From 73b65658670dac036358b484c395b3c9444cd8e8 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Fri, 10 Mar 2023 12:56:40 +0100 Subject: [PATCH] core/txpool: revert change --- core/txpool/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/txpool/list.go b/core/txpool/list.go index cb7d50d5ced8..73ca8ddaa0ea 100644 --- a/core/txpool/list.go +++ b/core/txpool/list.go @@ -213,7 +213,7 @@ func (m *sortedMap) Ready(start uint64) types.Transactions { // Len returns the length of the transaction map. func (m *sortedMap) Len() int { - return m.index.Len() + return len(m.items) } func (m *sortedMap) flatten() types.Transactions {