diff options
author | Jon Atack <jon@atack.com> | 2021-05-24 22:02:02 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-05-28 01:42:21 +0200 |
commit | c56a1c9b182815018b8bd3d8e6b8c2cb27859607 (patch) | |
tree | aa9e81a1c73cef5988a240b75fc20cb2adcf9eba /src/netaddress.cpp | |
parent | f8e94002fcfdc7890d38c23488b1f3a662e97bc4 (diff) |
p2p: drop onions from IsAddrV1Compatible(), no longer relay torv2
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r-- | src/netaddress.cpp | 1 |
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; |