mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p/discover: add dedup logic back
This commit is contained in:
parent
b5acff0fad
commit
ba833c1fde
1 changed files with 1 additions and 0 deletions
|
|
@ -860,6 +860,7 @@ func (t *UDPv5) collectTableNodes(rip net.IP, distances []uint, limit int) []*en
|
|||
if seen || dist > 256 {
|
||||
continue
|
||||
}
|
||||
processed[dist] = struct{}{}
|
||||
|
||||
bn = t.tab.appendLiveNodes(dist, bn[:0])
|
||||
for _, n := range bn {
|
||||
|
|
|
|||
Loading…
Reference in a new issue