worker: remove ethash property

parent c08a068e
Pipeline #17919729 passed with stages
in 9 minutes and 11 seconds
......@@ -25,7 +25,6 @@ type Ethash struct {
// random source for nonces
rand *rand.Rand
hash *ethash.Ethash
seedhash string
metrics *metrics.Metrics
......@@ -93,7 +92,7 @@ func (worker *Ethash) Start() error {
if len(worker.config.CLDevices) > 0 {
for i, d := range worker.config.CLDevices {
cl, err := newEthashCL(d, worker.hash)
cl, err := newEthashCL(d, hash)
if err != nil {
return err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment