mirror of https://github.com/zcash/zcash.git
Fix typo
This commit is contained in:
parent
f9dbd1e2d5
commit
23ead80e05
|
@ -476,7 +476,7 @@ BOOST_AUTO_TEST_CASE(caddrinfo_get_new_bucket)
|
||||||
// this test could be a security issue.
|
// this test could be a security issue.
|
||||||
BOOST_CHECK(info1.GetNewBucket(nKey1) != info1.GetNewBucket(nKey2));
|
BOOST_CHECK(info1.GetNewBucket(nKey1) != info1.GetNewBucket(nKey2));
|
||||||
|
|
||||||
// Test 31: Ports should not effect bucket placement in the addr
|
// Test 31: Ports should not affect bucket placement in the addr
|
||||||
CAddrInfo info2 = CAddrInfo(addr2, source1);
|
CAddrInfo info2 = CAddrInfo(addr2, source1);
|
||||||
BOOST_CHECK(info1.GetKey() != info2.GetKey());
|
BOOST_CHECK(info1.GetKey() != info2.GetKey());
|
||||||
BOOST_CHECK(info1.GetNewBucket(nKey1) == info2.GetNewBucket(nKey1));
|
BOOST_CHECK(info1.GetNewBucket(nKey1) == info2.GetNewBucket(nKey1));
|
||||||
|
@ -518,4 +518,4 @@ BOOST_AUTO_TEST_CASE(caddrinfo_get_new_bucket)
|
||||||
// than 64 buckets.
|
// than 64 buckets.
|
||||||
BOOST_CHECK(buckets.size() > 64);
|
BOOST_CHECK(buckets.size() > 64);
|
||||||
}
|
}
|
||||||
BOOST_AUTO_TEST_SUITE_END()
|
BOOST_AUTO_TEST_SUITE_END()
|
||||||
|
|
Loading…
Reference in New Issue