refactor: Remove unused parameter in ReportHeadersPresync

Co-Authored-By: Aurèle Oulès <aurele@oules.com>
This commit is contained in:
Daniela Brozzoni
2025-06-11 18:14:12 +02:00
parent 256246a9fa
commit 0488bdfefe
3 changed files with 3 additions and 3 deletions

View File

@@ -4620,7 +4620,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
if (it != m_headers_presync_stats.end()) stats = it->second;
}
if (stats.second) {
m_chainman.ReportHeadersPresync(stats.first, stats.second->first, stats.second->second);
m_chainman.ReportHeadersPresync(stats.second->first, stats.second->second);
}
}