From d8e2f09b02542ce1bd9a49508948b8c643dc34c2 Mon Sep 17 00:00:00 2001 From: Matus Kysel Date: Wed, 16 Oct 2024 11:35:47 +0200 Subject: [PATCH] chore: fix log lvl --- .../tarcap/packets_handlers/latest/status_packet_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/core_libs/network/src/tarcap/packets_handlers/latest/status_packet_handler.cpp b/libraries/core_libs/network/src/tarcap/packets_handlers/latest/status_packet_handler.cpp index 6a751ec456..bd30c35fc3 100644 --- a/libraries/core_libs/network/src/tarcap/packets_handlers/latest/status_packet_handler.cpp +++ b/libraries/core_libs/network/src/tarcap/packets_handlers/latest/status_packet_handler.cpp @@ -68,7 +68,7 @@ void StatusPacketHandler::process(const threadpool::PacketData& packet_data, con } if (genesis_hash != kGenesisHash) { - LOG((peers_state_->getPeersCount()) ? log_nf_ : log_er_) + LOG((peers_state_->getPeersCount()) ? log_nf_ : log_wr_) << "Incorrect genesis hash " << genesis_hash << ", host " << packet_data.from_node_id_.abridged() << " will be disconnected"; disconnect(packet_data.from_node_id_, dev::p2p::UserReason);