diff options
author | Jon Atack <jon@atack.com> | 2021-05-27 18:37:57 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-06-03 13:36:46 +0200 |
commit | 3d390421440f1cae9a9f2b089561c183ecd1b073 (patch) | |
tree | 341459b4b11796b3631c6c1463fd791a3a54b359 /src/netaddress.cpp | |
parent | cff5ec477a388ae9aa9fd9ef6a7dad1f678e7d23 (diff) |
p2p: remove torv2 in SetIP() and ADDR_TORV2_SIZE constant
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r-- | src/netaddress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp index 10b482fab3..11ad214107 100644 --- a/src/netaddress.cpp +++ b/src/netaddress.cpp @@ -115,7 +115,7 @@ void CNetAddr::SetIP(const CNetAddr& ipIn) assert(ipIn.m_addr.size() == ADDR_IPV6_SIZE); break; case NET_ONION: - assert(ipIn.m_addr.size() == ADDR_TORV2_SIZE || ipIn.m_addr.size() == ADDR_TORV3_SIZE); + assert(ipIn.m_addr.size() == ADDR_TORV3_SIZE); break; case NET_I2P: assert(ipIn.m_addr.size() == ADDR_I2P_SIZE); |