mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
refactor: remove warnings globals
This commit is contained in:
@@ -31,7 +31,7 @@ static void mineBlock(const node::NodeContext& node, std::chrono::seconds block_
|
||||
// Verifying when network-limited peer connections are desirable based on the node's proximity to the tip
|
||||
BOOST_AUTO_TEST_CASE(connections_desirable_service_flags)
|
||||
{
|
||||
std::unique_ptr<PeerManager> peerman = PeerManager::make(*m_node.connman, *m_node.addrman, nullptr, *m_node.chainman, *m_node.mempool, {});
|
||||
std::unique_ptr<PeerManager> peerman = PeerManager::make(*m_node.connman, *m_node.addrman, nullptr, *m_node.chainman, *m_node.mempool, *m_node.warnings, {});
|
||||
auto consensus = m_node.chainman->GetParams().GetConsensus();
|
||||
|
||||
// Check we start connecting to full nodes
|
||||
|
||||
Reference in New Issue
Block a user