mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-02-04 11:14:17 +00:00
Remove useless check for conn errors
This commit is contained in:
parent
60d9227304
commit
ff4b994b03
@ -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…
x
Reference in New Issue
Block a user