Browse Source

Update miner.go

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

4
proxy/miner.go

@ -57,10 +57,6 @@ func (s *ProxyServer) processShare(login, id, ip string, t *BlockTemplate, param
hashNoNonceTmp := common.HexToHash(hashNoNonce)
mixDigestTmp, hashTmp := hasher.Compute(t.Height, hashNoNonceTmp, nonce)
// check mixDigest
if mixDigestTmp.Hex() != mixDigest {
return false, false
}
result = hashTmp
}

Loading…
Cancel
Save