eth: fix GPU miner chain config regression

pull/2440/head
Péter Szilágyi 9 years ago
parent 701ac1ce6c
commit bf1f620343
  1. 3
      eth/gpu_mining.go

@ -56,8 +56,7 @@ func (s *Ethereum) StartMining(threads int, gpus string) error {
} }
// TODO: re-creating miner is a bit ugly // TODO: re-creating miner is a bit ugly
cl := ethash.NewCL(ids) s.miner = miner.New(s, s.chainConfig, s.EventMux(), ethash.NewCL(ids))
s.miner = miner.New(s, s.EventMux(), cl)
go s.miner.Start(eb, len(ids)) go s.miner.Start(eb, len(ids))
return nil return nil
} }

Loading…
Cancel
Save