p2p: drop onions from IsAddrV1Compatible(), no longer relay torv2

This commit is contained in:
Jon Atack
2021-05-24 22:02:02 +02:00
parent f8e94002fc
commit c56a1c9b18
2 changed files with 1 additions and 2 deletions

View File

@@ -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;