eth: remove package renaming

This commit is contained in:
Felix Lange 2025-08-27 00:27:00 +02:00
parent f83670fe29
commit 411b6716d6

View file

@ -22,7 +22,7 @@ import (
"hash"
"hash/fnv"
"maps"
gmath "math"
"math"
"slices"
"sync"
"sync/atomic"
@ -729,7 +729,7 @@ func (bc *broadcastChoice) choosePeers(peers []*ethPeer, txSender common.Address
// Take top n.
clear(bc.buffer)
n := int(gmath.Ceil(gmath.Sqrt(float64(len(bc.tmp)))))
n := int(math.Ceil(math.Sqrt(float64(len(bc.tmp)))))
for i := range n {
bc.buffer[bc.tmp[i].p] = struct{}{}
}