From 52749798f3235b6b79faeb90924ac82a2364bac5 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Mon, 4 Dec 2023 18:20:43 +0100 Subject: [PATCH] Update miner.go canxium --- proxy/miner.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proxy/miner.go b/proxy/miner.go index bd07ddc..d43d5c6 100644 --- a/proxy/miner.go +++ b/proxy/miner.go @@ -31,7 +31,9 @@ func (s *ProxyServer) processShare(login, id, ip string, t *BlockTemplate, param hasher = etchash.New(&ecip1099FBlockMordor, nil, nil) } else if s.config.Network == "ubiq" { hasher = etchash.New(nil, &uip1FEpoch, nil) - } else if s.config.Network == "ethereum" || s.config.Network == "ropsten" || s.config.Network == "ethereumPow" || s.config.Network == "ethereumFair" || s.config.Network == "callisto" || s.config.Network == "etica" || s.config.Network == "octaspace" || s.config.Network == "universal" { + } else if s.config.Network == "ethereum" || s.config.Network == "ropsten" || s.config.Network == "ethereumPow" || + s.config.Network == "ethereumFair" || s.config.Network == "callisto" || s.config.Network == "etica" || + s.config.Network == "octaspace" || s.config.Network == "universal" || s.config.Network == "canxium" { hasher = etchash.New(nil, nil, nil) } else { // unknown network