mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Update evictheap.go
This commit is contained in:
parent
b5e6a5847f
commit
7b32d5364c
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ func newPriceHeap(basefee *uint256.Int, blobfee *uint256.Int, index map[common.A
|
||||||
// test in unit tests.
|
// test in unit tests.
|
||||||
heap.addrs = maps.Keys(index)
|
heap.addrs = maps.Keys(index)
|
||||||
slices.SortFunc(heap.addrs, common.Address.Cmp)
|
slices.SortFunc(heap.addrs, common.Address.Cmp)
|
||||||
for i, addr := range heap.index {
|
for i, addr := range heap.addrs {
|
||||||
heap.index[addr] = i
|
heap.index[addr] = i
|
||||||
}
|
}
|
||||||
heap.reinit(basefee, blobfee, true)
|
heap.reinit(basefee, blobfee, true)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue