diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-03-30 11:00:44 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-03-30 11:00:44 +0100 |
commit | ea7ec7808745805c0a18513d7da271dedb2de3f1 (patch) | |
tree | 5993c1150bf45ace564a5bfd9a666ee9a18be933 /src | |
parent | 8e7179aa132598b946d0e03f4ec452edc6ef3bc4 (diff) |
refactor: Drop no longer used `CNetMsgMaker` instances
Diffstat (limited to 'src')
-rw-r--r-- | src/net_processing.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 6d65d9ec8b..d224cae58a 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2439,8 +2439,6 @@ arith_uint256 PeerManagerImpl::GetAntiDoSWorkThreshold() void PeerManagerImpl::HandleFewUnconnectingHeaders(CNode& pfrom, Peer& peer, const std::vector<CBlockHeader>& headers) { - const CNetMsgMaker msgMaker(pfrom.GetCommonVersion()); - LOCK(cs_main); CNodeState *nodestate = State(pfrom.GetId()); @@ -4938,7 +4936,6 @@ void PeerManagerImpl::ConsiderEviction(CNode& pto, Peer& peer, std::chrono::seco AssertLockHeld(cs_main); CNodeState &state = *State(pto.GetId()); - const CNetMsgMaker msgMaker(pto.GetCommonVersion()); if (!state.m_chain_sync.m_protect && pto.IsOutboundOrBlockRelayConn() && state.fSyncStarted) { // This is an outbound peer subject to disconnection if they don't |