aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-06 19:25:05 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-04-06 19:25:05 +0800
commit702bef8493f0f3486072f1a7593fa582a1fb53d0 (patch)
treef813e349e371f79e2b6a5b65f0657354c1bb3dd2 /cmd
parentd83a9a8f4429176fc6cc7974c08ce988c879a6bf (diff)
downloaddexon-702bef8493f0f3486072f1a7593fa582a1fb53d0.tar.gz
dexon-702bef8493f0f3486072f1a7593fa582a1fb53d0.tar.zst
dexon-702bef8493f0f3486072f1a7593fa582a1fb53d0.zip
cmd/geth, eth: drop bad block reporting, its offline anyway
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/main.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index e942d53c8..6376b4210 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -165,12 +165,6 @@ func init() {
// Start system runtime metrics collection
go metrics.CollectProcessMetrics(3 * time.Second)
- // This should be the only place where reporting is enabled
- // because it is not intended to run while testing.
- // In addition to this check, bad block reports are sent only
- // for chains with the main network genesis block and network id 1.
- eth.EnableBadBlockReporting = true
-
utils.SetupNetwork(ctx)
return nil
}