mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix a carp
This commit is contained in:
parent
0720324f56
commit
e68e06b796
1 changed files with 2 additions and 2 deletions
|
|
@ -94,8 +94,8 @@ func (h *evictHeap) Len() int {
|
||||||
// Less implements sort.Interface as part of heap.Interface, returning which of
|
// Less implements sort.Interface as part of heap.Interface, returning which of
|
||||||
// the two requested accounts has a cheaper bottleneck.
|
// the two requested accounts has a cheaper bottleneck.
|
||||||
func (h *evictHeap) Less(i, j int) bool {
|
func (h *evictHeap) Less(i, j int) bool {
|
||||||
txsI := (h.metas)[h.addrs[i]]
|
txsI := h.metas[h.addrs[i]]
|
||||||
txsJ := (h.metas)[h.addrs[j]]
|
txsJ := h.metas[h.addrs[j]]
|
||||||
|
|
||||||
lastI := txsI[len(txsI)-1]
|
lastI := txsI[len(txsI)-1]
|
||||||
lastJ := txsJ[len(txsJ)-1]
|
lastJ := txsJ[len(txsJ)-1]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue