Fixed error messages

This commit is contained in:
SChernykh 2022-06-09 09:20:24 +02:00
parent 37fba30c79
commit 9f4388843a
2 changed files with 2 additions and 2 deletions

View file

@ -1854,7 +1854,7 @@ bool P2PServer::P2PClient::on_peer_list_request(const uint8_t*)
if (cur_time - m_prevIncomingPeerListRequest < 30) { if (cur_time - m_prevIncomingPeerListRequest < 30) {
++m_fastPeerListRequestCount; ++m_fastPeerListRequestCount;
if (m_fastPeerListRequestCount >= 3) { if (m_fastPeerListRequestCount >= 3) {
LOGWARN(4, "peer " << log::Gray() << static_cast<char*>(m_addrString) << log::NoColor() << " is sending PEER_LIST_REQUEST too often"); LOGWARN(4, "peer " << static_cast<char*>(m_addrString) << " is sending PEER_LIST_REQUEST too often");
return false; return false;
} }
} }

View file

@ -577,7 +577,7 @@ void p2pool::submit_block() const
LOGWARN(3, "submit_block (external blob): RPC request failed, error " << log::const_buf(data, size)); LOGWARN(3, "submit_block (external blob): RPC request failed, error " << log::const_buf(data, size));
} }
else { else {
LOGERR(0, "submit_block (external blob): RPC request failed, error " << log::const_buf(data, size)); LOGERR(0, "submit_block: RPC request failed, error " << log::const_buf(data, size));
} }
} }
}); });