From 55e76d3c4d395dc329e9b9c2ec62616f47754157 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Mon, 20 Nov 2023 19:35:14 +0100 Subject: [PATCH] update --- proxy/miner.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proxy/miner.go b/proxy/miner.go index 7444ad7..8a59c20 100644 --- a/proxy/miner.go +++ b/proxy/miner.go @@ -24,13 +24,13 @@ func (s *ProxyServer) processShare(login, id, ip string, t *BlockTemplate, param if hasher == nil { switch s.config.Network { case "classic": - hasher = etchash.New(&ecip1099FBlockClassic, nil) + hasher = etchash.New(&ecip1099FBlockClassic, nil) // classic mainnet case "mordor": - hasher = etchash.New(&ecip1099FBlockMordor, nil) + hasher = etchash.New(&ecip1099FBlockMordor, nil) // mordor case "ubiq": - hasher = etchash.New(nil, &uip1FEpoch) + hasher = etchash.New(nil, &uip1FEpoch) // ubiq mainnet case "ethereum", "ropsten", "ethereumPow", "ethereumFair", "callisto", "etica", "expanse", "octaspace", "universal", "canxium": - hasher = etchash.New(nil, nil) + hasher = etchash.New(nil, nil) //ethash default: log.Printf("Unknown network configuration %s", s.config.Network) return false, false