good morning!!!!

Skip to content
Snippets Groups Projects
Commit bf1f6203 authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

eth: fix GPU miner chain config regression

parent 701ac1ce
No related branches found
No related tags found
No related merge requests found
......@@ -56,8 +56,7 @@ func (s *Ethereum) StartMining(threads int, gpus string) error {
}
// TODO: re-creating miner is a bit ugly
cl := ethash.NewCL(ids)
s.miner = miner.New(s, s.EventMux(), cl)
s.miner = miner.New(s, s.chainConfig, s.EventMux(), ethash.NewCL(ids))
go s.miner.Start(eb, len(ids))
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment