Skip to content

Commit

Permalink
core/txpool: revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Mar 10, 2023
1 parent 7a52cb1 commit 73b6565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 73b6565

Please sign in to comment.