mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-26 23:04:42 +00:00
Fix share counting
This commit is contained in:
parent
4332be5f1c
commit
90e04346d9
@ -191,6 +191,5 @@ func (m *Miner) processShare(s *StratumServer, e *Endpoint, job *Job, t *BlockTe
|
||||
}
|
||||
|
||||
log.Printf("Valid share at difficulty %v/%v", e.config.Difficulty, hashDiff)
|
||||
atomic.AddUint64(&m.validShares, 1)
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user