Skip to content

Commit ea7ec78

Browse files
committed
refactor: Drop no longer used CNetMsgMaker instances
1 parent 8e7179a commit ea7ec78

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/net_processing.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,8 +2439,6 @@ arith_uint256 PeerManagerImpl::GetAntiDoSWorkThreshold()
24392439
void PeerManagerImpl::HandleFewUnconnectingHeaders(CNode& pfrom, Peer& peer,
24402440
const std::vector<CBlockHeader>& headers)
24412441
{
2442-
const CNetMsgMaker msgMaker(pfrom.GetCommonVersion());
2443-
24442442
LOCK(cs_main);
24452443
CNodeState *nodestate = State(pfrom.GetId());
24462444

@@ -4938,7 +4936,6 @@ void PeerManagerImpl::ConsiderEviction(CNode& pto, Peer& peer, std::chrono::seco
49384936
AssertLockHeld(cs_main);
49394937

49404938
CNodeState &state = *State(pto.GetId());
4941-
const CNetMsgMaker msgMaker(pto.GetCommonVersion());
49424939

49434940
if (!state.m_chain_sync.m_protect && pto.IsOutboundOrBlockRelayConn() && state.fSyncStarted) {
49444941
// This is an outbound peer subject to disconnection if they don't

0 commit comments

Comments
 (0)