aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/admin.go b/cmd/geth/admin.go
index 91a336cbb..ebdf3512a 100644
--- a/cmd/geth/admin.go
+++ b/cmd/geth/admin.go
@@ -288,7 +288,7 @@ func (js *jsre) startMining(call otto.FunctionCall) otto.Value {
return otto.FalseValue()
}
} else {
- threads = 4
+ threads = int64(js.ethereum.MinerThreads)
}
err = js.ethereum.StartMining(int(threads))