aboutsummaryrefslogtreecommitdiff
path: root/src/test/util
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-11 18:07:53 +0200
committerMacroFake <falke.marco@gmail.com>2022-07-12 08:41:34 +0200
commitfa4be8e7c324835d3b9eecb5a3825a4c8f77fb2f (patch)
tree896019706a601066273aca93f2f4707c9092968d /src/test/util
parentfa7098947ceff1964812d430e769af6d1ad561bd (diff)
downloadbitcoin-fa4be8e7c324835d3b9eecb5a3825a4c8f77fb2f.tar.xz
move-only: InitializeNode to handshake helper
Diffstat (limited to 'src/test/util')
-rw-r--r--src/test/util/net.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/util/net.cpp b/src/test/util/net.cpp
index 2cc1d10513..e70ad036bd 100644
--- a/src/test/util/net.cpp
+++ b/src/test/util/net.cpp
@@ -24,6 +24,8 @@ void ConnmanTestMsg::Handshake(CNode& node,
auto& connman{*this};
const CNetMsgMaker mm{0};
+ peerman.InitializeNode(&node);
+
CSerializedNetMsg msg_version{
mm.Make(NetMsgType::VERSION,
version, //