Skip to content

Commit

Permalink
misleading indentation error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-tucci committed Aug 12, 2024
1 parent 47109ea commit 8634689
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cryptonote_protocol/cryptonote_protocol_handler.inl
Original file line number Diff line number Diff line change
Expand Up @@ -2748,9 +2748,10 @@ skip:
uint64_t target = 0;
m_p2p->for_each_connection([&](const connection_context& cntxt, nodetool::peerid_type peer_id, uint32_t support_flags) {
MINFO("DEBUGconnection state:" << cntxt.m_state << " cntxtId:" << cntxt.m_connection_id << " context:"<<context.m_connection_id);
if (cntxt.m_state >= cryptonote_connection_context::state_synchronizing && cntxt.m_connection_id != context.m_connection_id)
if (cntxt.m_state >= cryptonote_connection_context::state_synchronizing && cntxt.m_connection_id != context.m_connection_id){
target = std::max(target, cntxt.m_remote_blockchain_height);
MINFO("Target found:" << target);
}
MINFO("Target found:" << target);
return true;
});
const uint64_t previous_target = m_core.get_target_blockchain_height();
Expand Down

0 comments on commit 8634689

Please sign in to comment.