mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Merge pull request #5661 from knst/fix-backport-21689
backport: bitcoin#21689 (fix unit test failure test/net_tests.cpp:275)
This commit is contained in:
commit
7bae092519
@ -271,9 +271,6 @@ BOOST_AUTO_TEST_CASE(cnetaddr_basic)
|
||||
BOOST_REQUIRE(addr.IsValid());
|
||||
BOOST_REQUIRE(addr.IsIPv6());
|
||||
BOOST_CHECK(!addr.IsBindAny());
|
||||
const std::string addr_str{addr.ToString()};
|
||||
BOOST_CHECK(addr_str == scoped_addr || addr_str == "fe80:0:0:0:0:0:0:1");
|
||||
// The fallback case "fe80:0:0:0:0:0:0:1" is needed for macOS 10.14/10.15 and (probably) later.
|
||||
// Test that the delimiter "%" and default zone id of 0 can be omitted for the default scope.
|
||||
BOOST_REQUIRE(LookupHost(link_local + "%0", addr, false));
|
||||
BOOST_REQUIRE(addr.IsValid());
|
||||
|
Loading…
Reference in New Issue
Block a user