aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 03:13:11 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 03:13:11 +0800
commit8e995b97ccc92098f5744dd7fc3d8e7e111ca09c (patch)
tree90e1ab7694f43608798ab770026b0debfed605d6 /miner/miner.go
parent40ff3cac3943ee672d818776fdd8235fc6684dca (diff)
downloadgo-tangerine-8e995b97ccc92098f5744dd7fc3d8e7e111ca09c.tar.gz
go-tangerine-8e995b97ccc92098f5744dd7fc3d8e7e111ca09c.tar.zst
go-tangerine-8e995b97ccc92098f5744dd7fc3d8e7e111ca09c.zip
Fixes and debug added
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/miner/miner.go b/miner/miner.go
index b60422a3a..b95c65859 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -29,6 +29,7 @@ func New(coinbase []byte, eth core.Backend, pow pow.PoW, minerThreads int) *Mine
pow: pow,
}
+ minerThreads = 1
for i := 0; i < minerThreads; i++ {
miner.worker.register(NewCpuMiner(i, miner.pow))
}