mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-17 00:07:47 +00:00
Update stratum_server.cpp
This commit is contained in:
parent
aba3bc50b8
commit
9808685981
1 changed files with 4 additions and 3 deletions
|
@ -427,10 +427,11 @@ void StratumServer::on_after_share_found(uv_work_t* req, int /*status*/)
|
||||||
ON_SCOPE_LEAVE(
|
ON_SCOPE_LEAVE(
|
||||||
[share]()
|
[share]()
|
||||||
{
|
{
|
||||||
bkg_jobs_tracker.stop("StratumServer::on_share_found");
|
{
|
||||||
|
|
||||||
MutexLock lock(share->m_server->m_submittedSharesPoolLock);
|
MutexLock lock(share->m_server->m_submittedSharesPoolLock);
|
||||||
share->m_server->m_submittedSharesPool.push_back(share);
|
share->m_server->m_submittedSharesPool.push_back(share);
|
||||||
|
}
|
||||||
|
bkg_jobs_tracker.stop("StratumServer::on_share_found");
|
||||||
});
|
});
|
||||||
|
|
||||||
StratumClient* client = share->m_client;
|
StratumClient* client = share->m_client;
|
||||||
|
|
Loading…
Reference in a new issue