Skip to content

Commit 5241b8b

Browse files
committed
Merge bitcoin/bitcoin#27368: refactor: Drop no longer used CNetMsgMaker instances
ea7ec78 refactor: Drop no longer used `CNetMsgMaker` instances (Hennadii Stepanov) Pull request description: The removed lines have been unused since the bitcoin/bitcoin@abf5d16 commit from bitcoin/bitcoin#25454. ACKs for top commit: dergoegge: utACK ea7ec78 Sjors: ACK ea7ec78 TheCharlatan: ACK ea7ec78 Tree-SHA512: 9a2a9ff3f124b68a8cd20a637e90885096996c3aa354a4d8adbec98f5761e9e826c1c064ccd90aaf6d72beac61dd9e22c8b76d089e18bba6e0ad51e59a9c7df8
2 parents 8e7179a + ea7ec78 commit 5241b8b

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)