From 41d3f452051d41d9597bc154a18cf164dcd672e0 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Sat, 30 Oct 2021 18:24:16 +0200 Subject: [PATCH] Update miner.go --- proxy/miner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/miner.go b/proxy/miner.go index 8623a46..c9a55dc 100644 --- a/proxy/miner.go +++ b/proxy/miner.go @@ -14,7 +14,7 @@ var ecip1099FBlockClassic uint64 = 11700000 // classic mainnet var ecip1099FBlockMordor uint64 = 2520000 // mordor var uip1FEpoch uint64 = 22 // ubiq mainnet -var hasher *etchash.Etchash = nil +var hasher = etchash.New(&ecip1099FBlockMordor, nil) func (s *ProxyServer) processShare(login, id, ip string, t *BlockTemplate, params []string) (bool, bool) { if hasher == nil {