StratumServer: removed an unnecessary check

pull/279/head
SChernykh 2023-09-29 11:55:25 +02:00
parent a81d3c4989
commit 27375e7382
1 changed files with 1 additions and 1 deletions

View File

@ -988,7 +988,7 @@ void StratumServer::on_after_share_found(uv_work_t* req, int /*status*/)
StratumClient* client = share->m_client;
if ((client->m_resetCounter.load() == share->m_clientResetCounter) && (client->m_rpcId == share->m_rpcId)) {
if (client->m_resetCounter.load() == share->m_clientResetCounter) {
const bool result = server->send(client,
[share](uint8_t* buf, size_t buf_size)
{