Browse Source

Remove useless check for conn errors

pool
Sammy Libre 9 years ago
parent
commit
ff4b994b03
  1. 1
      go-pool/stratum/stratum.go

1
go-pool/stratum/stratum.go

@ -96,7 +96,6 @@ func (s *StratumServer) Listen() { @@ -96,7 +96,6 @@ func (s *StratumServer) Listen() {
continue
}
conn.SetKeepAlive(true)
checkError(err)
ip, _, _ := net.SplitHostPort(conn.RemoteAddr().String())
ok := s.policy.ApplyLimitPolicy(ip)
if !ok {

Loading…
Cancel
Save