diff options
author | stickies-v <stickies-v@protonmail.com> | 2024-05-07 14:21:35 +0100 |
---|---|---|
committer | stickies-v <stickies-v@protonmail.com> | 2024-06-13 11:20:49 +0100 |
commit | 260f8da71a35232d859d7705861fc1a88bfbbe81 (patch) | |
tree | 0b6a6ab3dcbc06affa5c84bbf8f7966d5ba6d5cc /src/test/net_peer_connection_tests.cpp | |
parent | 9c4b0b7ce459765fa1a63b410c3423b90f0d2a5f (diff) |
refactor: remove warnings globals
Diffstat (limited to 'src/test/net_peer_connection_tests.cpp')
-rw-r--r-- | src/test/net_peer_connection_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/net_peer_connection_tests.cpp b/src/test/net_peer_connection_tests.cpp index 00bc1fdb6a..5f38ce112c 100644 --- a/src/test/net_peer_connection_tests.cpp +++ b/src/test/net_peer_connection_tests.cpp @@ -84,7 +84,7 @@ static void AddPeer(NodeId& id, std::vector<CNode*>& nodes, PeerManager& peerman BOOST_AUTO_TEST_CASE(test_addnode_getaddednodeinfo_and_connection_detection) { auto connman = std::make_unique<ConnmanTestMsg>(0x1337, 0x1337, *m_node.addrman, *m_node.netgroupman, Params()); - auto peerman = PeerManager::make(*connman, *m_node.addrman, nullptr, *m_node.chainman, *m_node.mempool, {}); + auto peerman = PeerManager::make(*connman, *m_node.addrman, nullptr, *m_node.chainman, *m_node.mempool, *m_node.warnings, {}); NodeId id{0}; std::vector<CNode*> nodes; |