From 598776bb14e563518aae4a618a0cf3150ecc9671 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:53:34 +0100 Subject: [PATCH] //Write the Ip address into the settings:login:ipaddr and timeit added to settings:login:iptime hash //Write the Ip address into the settings:login:ipaddr and timeit added to settings:login:iptime hash --- proxy/miner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/miner.go b/proxy/miner.go index 2327c80..feeb6db 100644 --- a/proxy/miner.go +++ b/proxy/miner.go @@ -103,7 +103,7 @@ func (s *ProxyServer) processShare(login, id, ip string, t *BlockTemplate, param log.Printf("Stale share from %v@%v", login, ip) return false, false } - + //Write the Ip address into the settings:login:ipaddr and timeit added to settings:login:iptime hash s.backend.LogIP(login, ip) // check share difficulty