aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-05-24 22:02:02 +0200
committerJon Atack <jon@atack.com>2021-05-28 01:42:21 +0200
commitc56a1c9b182815018b8bd3d8e6b8c2cb27859607 (patch)
treeaa9e81a1c73cef5988a240b75fc20cb2adcf9eba /src/netaddress.cpp
parentf8e94002fcfdc7890d38c23488b1f3a662e97bc4 (diff)
p2p: drop onions from IsAddrV1Compatible(), no longer relay torv2
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r--src/netaddress.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp
index eeb88d679c..b6f0463a1d 100644
--- a/src/netaddress.cpp
+++ b/src/netaddress.cpp
@@ -522,7 +522,6 @@ bool CNetAddr::IsAddrV1Compatible() const
case NET_INTERNAL:
return true;
case NET_ONION:
- return m_addr.size() == ADDR_TORV2_SIZE;
case NET_I2P:
case NET_CJDNS:
return false;