Browse Source

Fix share counting

pool
Sammy Libre 8 years ago
parent
commit
90e04346d9
  1. 1
      go-pool/stratum/miner.go

1
go-pool/stratum/miner.go

@ -191,6 +191,5 @@ func (m *Miner) processShare(s *StratumServer, e *Endpoint, job *Job, t *BlockTe @@ -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…
Cancel
Save