aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r--cmd/geth/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index bc5cf06e8..e8aef2bb2 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -301,7 +301,7 @@ func startNode(ctx *cli.Context, stack *node.Node) {
th.SetThreads(threads)
}
}
- if err := ethereum.StartMining(); err != nil {
+ if err := ethereum.StartMining(true); err != nil {
utils.Fatalf("Failed to start mining: %v", err)
}
}