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/test/net_tests.cpp | |
parent | f8e94002fcfdc7890d38c23488b1f3a662e97bc4 (diff) |
p2p: drop onions from IsAddrV1Compatible(), no longer relay torv2
Diffstat (limited to 'src/test/net_tests.cpp')
-rw-r--r-- | src/test/net_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index 8d47bfb290..1f5c29c657 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -613,7 +613,7 @@ BOOST_AUTO_TEST_CASE(cnetaddr_unserialize_v2) s >> addr; BOOST_CHECK(addr.IsValid()); BOOST_CHECK(addr.IsTor()); - BOOST_CHECK(addr.IsAddrV1Compatible()); + BOOST_CHECK(!addr.IsAddrV1Compatible()); BOOST_CHECK_EQUAL(addr.ToString(), "6hzph5hv6337r6p2.onion"); BOOST_REQUIRE(s.empty()); |