diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-10 16:43:01 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-04-10 16:43:01 +0800 |
commit | bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4 (patch) | |
tree | 724676c86df67ae523cbfda2600e7ba466b2955d /cmd/geth | |
parent | f32b72ca5d7c477e5f5d3ab0d5b6548bf3fdc139 (diff) | |
download | dexon-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar.gz dexon-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar.zst dexon-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.zip |
eth: accept transactions when starting CPU mining (#13882)
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/main.go | 2 |
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) } } |