pool: always relay onion addresses.

This commit is contained in:
Christopher Jeffrey 2017-01-25 14:08:21 -08:00
parent e05fb77d33
commit f576ab6e6c
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1291,9 +1291,6 @@ Pool.prototype.handleAddr = co(function* handleAddr(peer, packet) {
if (!addr.hasServices(services))
continue;
if (!this.options.onion && addr.isOnion())
continue;
if (addr.ts <= 100000000 || addr.ts > now + 10 * 60)
addr.ts = now - 5 * 24 * 60 * 60;