From 947178f10a898559075785b1e3f36c7d9b8d6fa1 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Wed, 7 Sep 2022 08:59:04 +0200 Subject: [PATCH] StratumServer: improved warning message --- src/stratum_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratum_server.cpp b/src/stratum_server.cpp index 4663cff..f80acaf 100644 --- a/src/stratum_server.cpp +++ b/src/stratum_server.cpp @@ -439,7 +439,7 @@ bool StratumServer::on_submit(StratumClient* client, uint32_t id, const char* jo return true; } - LOGWARN(4, "client " << static_cast(client->m_addrString) << " got a share with invalid job id"); + LOGWARN(4, "client " << static_cast(client->m_addrString) << " got a share with invalid job id " << job_id << " (latest job sent has id " << client->m_perConnectionJobId << ')'); const bool result = send(client, [id](void* buf, size_t buf_size)