Skip to content

Commit 671e8e6

Browse files
fanquakePastaPastaPasta
authored andcommitted
Merge 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@abf5d16 commit from bitcoin#25454. ACKs for top commit: dergoegge: utACK ea7ec78 Sjors: ACK ea7ec78 TheCharlatan: ACK ea7ec78 Tree-SHA512: 9a2a9ff3f124b68a8cd20a637e90885096996c3aa354a4d8adbec98f5761e9e826c1c064ccd90aaf6d72beac61dd9e22c8b76d089e18bba6e0ad51e59a9c7df8
1 parent a11690b commit 671e8e6

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
@@ -2773,8 +2773,6 @@ void PeerManagerImpl::SendBlockTransactions(CNode& pfrom, const CBlock& block, c
27732773
void PeerManagerImpl::HandleFewUnconnectingHeaders(CNode& pfrom, Peer& peer,
27742774
const std::vector<CBlockHeader>& headers)
27752775
{
2776-
const CNetMsgMaker msgMaker(pfrom.GetCommonVersion());
2777-
27782776
LOCK(cs_main);
27792777
CNodeState *nodestate = State(pfrom.GetId());
27802778

@@ -5165,7 +5163,6 @@ void PeerManagerImpl::ConsiderEviction(CNode& pto, Peer& peer, std::chrono::seco
51655163
AssertLockHeld(cs_main);
51665164

51675165
CNodeState &state = *State(pto.GetId());
5168-
const CNetMsgMaker msgMaker(pto.GetCommonVersion());
51695166

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

0 commit comments

Comments
 (0)