StratumServer: removed an unnecessary check

This commit is contained in:
SChernykh 2023-09-29 11:55:25 +02:00
parent a81d3c4989
commit 27375e7382

View file

@ -988,7 +988,7 @@ void StratumServer::on_after_share_found(uv_work_t* req, int /*status*/)
StratumClient* client = share->m_client; 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, const bool result = server->send(client,
[share](uint8_t* buf, size_t buf_size) [share](uint8_t* buf, size_t buf_size)
{ {