forked from cerc-io/plugeth
eth: fix GPU miner chain config regression
This commit is contained in:
parent
701ac1ce6c
commit
bf1f620343
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user