remove redundant private addr check when constructing our relay address set
findRelays cleans up address sets now for addrsplosion, and this removes private
addrs as well.
@@ -315,12 +315,10 @@ func (ar *AutoRelay) doUpdateAddrs() {
}
for _, addr := range pi.Addrs {
- if !manet.IsPrivateAddr(addr) {
pub := addr.Encapsulate(circuit)
raddrs = append(raddrs, pub)
}
}
- }
ar.addrs = raddrs
}
