From 6fc7aa8398e657fbc26585ed6a7a87992c3ef535 Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 14 May 2026 18:09:48 +0200 Subject: [PATCH] cryptonote_protocol: fix peer overview logging --- src/cryptonote_protocol/cryptonote_protocol_handler.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index a115d50ad..78f1c53b7 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -2729,10 +2729,10 @@ skip: m_p2p->for_each_connection([&](const connection_context &ctx, nodetool::peerid_type peer_id, uint32_t support_flags) { const uint32_t stripe = tools::get_pruning_stripe(ctx.m_pruning_seed); char state_char = cryptonote::get_protocol_state_char(ctx.m_state); - ss << stripe + state_char; + ss << stripe << state_char; if (ctx.m_last_request_time != boost::date_time::not_a_date_time) ss << (((now - ctx.m_last_request_time).total_microseconds() > IDLE_PEER_KICK_TIME) ? "!" : "?"); - ss << + " "; + ss << " "; return true; }); return ss.str();