diff options
| author | Amiti Uttarwar <[email protected]> | 2020-05-12 12:58:41 -0700 |
|---|---|---|
| committer | Amiti Uttarwar <[email protected]> | 2020-08-07 17:18:16 -0700 |
| commit | 14923422b08ac4b21b35c426bf0e1b9e7c97983b (patch) | |
| tree | 678645398fc7e75093828cb8200e7ca9fed2ae3b /src/test | |
| parent | [net/refactor] Remove m_manual_connection flag from CNode (diff) | |
| download | discoin-14923422b08ac4b21b35c426bf0e1b9e7c97983b.tar.xz discoin-14923422b08ac4b21b35c426bf0e1b9e7c97983b.zip | |
[net/refactor] Remove fFeeler flag from CNode
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/net_tests.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index 5840f5a72..34be51d5a 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -181,14 +181,11 @@ BOOST_AUTO_TEST_CASE(cnode_simple_test) CAddress addr = CAddress(CService(ipv4Addr, 7777), NODE_NETWORK); std::string pszDest; - // Test that fFeeler is false by default. std::unique_ptr<CNode> pnode1 = MakeUnique<CNode>(id++, NODE_NETWORK, height, hSocket, addr, 0, 0, CAddress(), pszDest, ConnectionType::OUTBOUND); BOOST_CHECK(pnode1->fInbound == false); - BOOST_CHECK(pnode1->fFeeler == false); std::unique_ptr<CNode> pnode2 = MakeUnique<CNode>(id++, NODE_NETWORK, height, hSocket, addr, 1, 1, CAddress(), pszDest, ConnectionType::INBOUND); BOOST_CHECK(pnode2->fInbound == true); - BOOST_CHECK(pnode2->fFeeler == false); } // prior to PR #14728, this test triggers an undefined behavior |