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