aboutsummaryrefslogtreecommitdiff
path: root/src/test/net_tests.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-07-20 14:01:05 +0100
committerdergoegge <n.goeggi@gmail.com>2022-07-14 14:44:44 +0200
commit1f52c47d5c09b59fd3153700751c74e63edc7d7e (patch)
tree1daebbb2837b9764a348f280e7afd9ea0128644b /src/test/net_tests.cpp
parent31c6309cc60ae3fee2d3ecc2aff9576596fb98ac (diff)
downloadbitcoin-1f52c47d5c09b59fd3153700751c74e63edc7d7e.tar.xz
[net processing] Add m_our_services and m_their_services to Peer
Track services offered by us and the peer in the Peer object.
Diffstat (limited to 'src/test/net_tests.cpp')
-rw-r--r--src/test/net_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp
index 115c4b9b24..0ac508bea9 100644
--- a/src/test/net_tests.cpp
+++ b/src/test/net_tests.cpp
@@ -857,7 +857,7 @@ BOOST_AUTO_TEST_CASE(initial_advertise_from_version_message)
*static_cast<TestChainState*>(&m_node.chainman->ActiveChainstate());
chainstate.JumpOutOfIbd();
- m_node.peerman->InitializeNode(&peer);
+ m_node.peerman->InitializeNode(peer, peer.GetLocalServices());
std::atomic<bool> interrupt_dummy{false};
std::chrono::microseconds time_received_dummy{0};