mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
StratumServer: removed an unnecessary check
This commit is contained in:
parent
a81d3c4989
commit
27375e7382
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue