eth: accept transactions when starting CPU mining (#13882)

This commit is contained in:
Péter Szilágyi
2017-04-10 11:43:01 +03:00
committed by Felix Lange
parent f32b72ca5d
commit bfe5eb7f8c
6 changed files with 18 additions and 10 deletions

View File

@ -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)
}
}