Browse Source

Update redis.go fault has been corrected stratumHostname and Port Difficulty

stratumHostname and Port Difficulty
master
yuriy0803 2 years ago committed by GitHub
parent
commit
12084f1404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      storage/redis.go

2
storage/redis.go

@ -1646,7 +1646,7 @@ func convertWorkersStats(window int64, raw *redis.ZSliceCmd, blocks *redis.ZSlic
share, _ := strconv.ParseInt(parts[0], 10, 64) share, _ := strconv.ParseInt(parts[0], 10, 64)
var hostname string var hostname string
if len(parts) > 3 { if len(parts) > 3 {
hostname = parts[4] hostname = parts[3]
} else { } else {
hostname = "unknown" hostname = "unknown"
} }

Loading…
Cancel
Save