Browse Source

Change log message

pool
Sammy Libre 8 years ago
parent
commit
253d8f1553
  1. 2
      go-pool/stratum/miner.go

2
go-pool/stratum/miner.go

@ -173,7 +173,7 @@ func (m *Miner) processShare(s *StratumServer, e *Endpoint, job *Job, t *BlockTe
if err != nil { if err != nil {
atomic.AddUint64(&m.rejects, 1) atomic.AddUint64(&m.rejects, 1)
atomic.AddUint64(&r.Rejects, 1) atomic.AddUint64(&r.Rejects, 1)
log.Printf("Block submission failure at height %v: %v", t.height, err) log.Printf("Block rejected at height %d: %v", t.height, err)
} else { } else {
if len(convertedBlob) == 0 { if len(convertedBlob) == 0 {
convertedBlob = cnutil.ConvertBlob(shareBuff) convertedBlob = cnutil.ConvertBlob(shareBuff)

Loading…
Cancel
Save