aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-06 22:50:44 +0800
committerobscuren <geffobscura@gmail.com>2015-03-06 22:50:44 +0800
commit8d9be18b296afb8302249dcc96651aabb0975e26 (patch)
tree70b8e2ac38edcb8968b946bcfc0772f188d668d7 /miner/miner.go
parentb72ca57775c7baa6d83cf00093496c9836039d47 (diff)
downloadgo-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar.gz
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar.zst
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.zip
Queued approach to delivering chain events
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 490296431..d3b1f578a 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -30,6 +30,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))
}