From bf1f6203438a2d89fdf174ccc462a9e3b916cebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 11 Apr 2016 17:31:00 +0300 Subject: eth: fix GPU miner chain config regression --- eth/gpu_mining.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth/gpu_mining.go b/eth/gpu_mining.go index c351c2bdd..cd734bd3c 100644 --- a/eth/gpu_mining.go +++ b/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 - 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 } -- cgit v1.2.3