From 12084f14044ed8a5e8cc53bb645825924b2042da Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Fri, 1 Sep 2023 00:21:38 +0200 Subject: [PATCH] Update redis.go fault has been corrected stratumHostname and Port Difficulty stratumHostname and Port Difficulty --- storage/redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/redis.go b/storage/redis.go index abaed81..88e6b5b 100644 --- a/storage/redis.go +++ b/storage/redis.go @@ -1646,7 +1646,7 @@ func convertWorkersStats(window int64, raw *redis.ZSliceCmd, blocks *redis.ZSlic share, _ := strconv.ParseInt(parts[0], 10, 64) var hostname string if len(parts) > 3 { - hostname = parts[4] + hostname = parts[3] } else { hostname = "unknown" }