Browse Source

Fix log message

pool
Sammy Libre 8 years ago
parent
commit
7c0233fc03
  1. 2
      go-pool/stratum/stratum.go

2
go-pool/stratum/stratum.go

@ -198,7 +198,7 @@ func (s *StratumServer) handleClient(cs *Session, e *Endpoint) { @@ -198,7 +198,7 @@ func (s *StratumServer) handleClient(cs *Session, e *Endpoint) {
var req JSONRpcReq
err = json.Unmarshal(data, &req)
if err != nil {
log.Printf("Malformed request from: %v", cs.ip, err)
log.Printf("Malformed request from %s: %v", cs.ip, err)
break
}
s.setDeadline(cs.conn)

Loading…
Cancel
Save