diff --git a/pkg/network/server.go b/pkg/network/server.go index b3ce79bca..4a8512e11 100644 --- a/pkg/network/server.go +++ b/pkg/network/server.go @@ -1196,11 +1196,9 @@ func (s *Server) handleAddrCmd(p Peer, addrs *payload.AddressList) error { if !p.CanProcessAddr() { return errors.New("unexpected addr received") } - dups := make(map[string]bool) for _, a := range addrs.Addrs { addr, err := a.GetTCPAddress() - if err == nil && !dups[addr] { - dups[addr] = true + if err == nil { s.discovery.BackFill(addr) } }