From e68e06b796f94ca820140a0a903c62c2eaa9b65a Mon Sep 17 00:00:00 2001 From: maskpp Date: Sat, 22 Jun 2024 12:02:22 +0800 Subject: [PATCH] fix a carp --- core/txpool/blobpool/evictheap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/txpool/blobpool/evictheap.go b/core/txpool/blobpool/evictheap.go index 031515fb59..701eb405cf 100644 --- a/core/txpool/blobpool/evictheap.go +++ b/core/txpool/blobpool/evictheap.go @@ -94,8 +94,8 @@ func (h *evictHeap) Len() int { // Less implements sort.Interface as part of heap.Interface, returning which of // the two requested accounts has a cheaper bottleneck. func (h *evictHeap) Less(i, j int) bool { - txsI := (h.metas)[h.addrs[i]] - txsJ := (h.metas)[h.addrs[j]] + txsI := h.metas[h.addrs[i]] + txsJ := h.metas[h.addrs[j]] lastI := txsI[len(txsI)-1] lastJ := txsJ[len(txsJ)-1]