mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-09 04:09:29 +00:00
Fixed m_sharesFailed initialization
This commit is contained in:
parent
c841a2d2a9
commit
9b686673ae
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ Miner::Miner(p2pool* pool, uint32_t threads)
|
|||
, m_nonceTimestamp(m_startTimestamp)
|
||||
, m_totalHashes(0)
|
||||
, m_sharesFound(0)
|
||||
, m_sharesFailed(0)
|
||||
, m_job{}
|
||||
, m_jobIndex{ 0 }
|
||||
{
|
||||
|
@ -142,6 +143,7 @@ void Miner::reset_share_counters()
|
|||
{
|
||||
m_totalHashes = 0;
|
||||
m_sharesFound = 0;
|
||||
m_sharesFailed = 0;
|
||||
}
|
||||
|
||||
void Miner::run(void* data)
|
||||
|
|
Loading…
Reference in a new issue