diff options
author | John Newbery <john@johnnewbery.com> | 2020-07-20 20:28:37 +0100 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2022-07-14 15:25:15 +0200 |
commit | 8d8eeb422e64ccd08bce92eed2ee9cbbf55ffd67 (patch) | |
tree | b77c7c19702515192a7b3a958001053b2ab9adc7 /src/test/util | |
parent | 5961f8eea1ad5be1a4bf8da63651e197a20359b2 (diff) |
[net processing] Remove CNode::nLocalServices
Diffstat (limited to 'src/test/util')
-rw-r--r-- | src/test/util/net.cpp | 3 | ||||
-rw-r--r-- | src/test/util/net.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/test/util/net.cpp b/src/test/util/net.cpp index ab4dcb93f7..223db16c6c 100644 --- a/src/test/util/net.cpp +++ b/src/test/util/net.cpp @@ -16,6 +16,7 @@ void ConnmanTestMsg::Handshake(CNode& node, bool successfully_connected, ServiceFlags remote_services, + ServiceFlags local_services, NetPermissionFlags permission_flags, int32_t version, bool relay_txs) @@ -24,7 +25,7 @@ void ConnmanTestMsg::Handshake(CNode& node, auto& connman{*this}; const CNetMsgMaker mm{0}; - peerman.InitializeNode(node, node.GetLocalServices()); + peerman.InitializeNode(node, local_services); CSerializedNetMsg msg_version{ mm.Make(NetMsgType::VERSION, diff --git a/src/test/util/net.h b/src/test/util/net.h index 0cf55f8a22..7f61a03d27 100644 --- a/src/test/util/net.h +++ b/src/test/util/net.h @@ -42,6 +42,7 @@ struct ConnmanTestMsg : public CConnman { void Handshake(CNode& node, bool successfully_connected, ServiceFlags remote_services, + ServiceFlags local_services, NetPermissionFlags permission_flags, int32_t version, bool relay_txs); |