Browse Source

Update miner.go canxium

master
yuriy0803 2 years ago committed by GitHub
parent
commit
52749798f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      proxy/miner.go

4
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

Loading…
Cancel
Save