aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-11-23 20:32:25 +0800
committerGitHub <noreply@github.com>2016-11-23 20:32:25 +0800
commitc04c8f10f04a41e762589358418c65fd99891bb4 (patch)
treee1894ef4d0cad67e45739d1db0ad05307cba9711 /eth
parente05d35e6e04f1378c18861016f96b39b35cef4f2 (diff)
downloadgo-tangerine-c04c8f10f04a41e762589358418c65fd99891bb4.tar
go-tangerine-c04c8f10f04a41e762589358418c65fd99891bb4.tar.gz
go-tangerine-c04c8f10f04a41e762589358418c65fd99891bb4.tar.bz2
go-tangerine-c04c8f10f04a41e762589358418c65fd99891bb4.tar.lz
go-tangerine-c04c8f10f04a41e762589358418c65fd99891bb4.tar.xz
go-tangerine-c04c8f10f04a41e762589358418c65fd99891bb4.tar.zst
go-tangerine-c04c8f10f04a41e762589358418c65fd99891bb4.zip
core: improved bad block error reporting (#3320)
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 67598bdbb..2351a62c8 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -218,6 +218,8 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
eth.chainConfig = config.ChainConfig
+ glog.V(logger.Info).Infoln("Chain config:", eth.chainConfig)
+
eth.blockchain, err = core.NewBlockChain(chainDb, eth.chainConfig, eth.pow, eth.EventMux())
if err != nil {
if err == core.ErrNoGenesis {