diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-23 20:32:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 20:32:25 +0800 |
commit | c04c8f10f04a41e762589358418c65fd99891bb4 (patch) | |
tree | e1894ef4d0cad67e45739d1db0ad05307cba9711 /eth | |
parent | e05d35e6e04f1378c18861016f96b39b35cef4f2 (diff) | |
download | dexon-c04c8f10f04a41e762589358418c65fd99891bb4.tar dexon-c04c8f10f04a41e762589358418c65fd99891bb4.tar.gz dexon-c04c8f10f04a41e762589358418c65fd99891bb4.tar.bz2 dexon-c04c8f10f04a41e762589358418c65fd99891bb4.tar.lz dexon-c04c8f10f04a41e762589358418c65fd99891bb4.tar.xz dexon-c04c8f10f04a41e762589358418c65fd99891bb4.tar.zst dexon-c04c8f10f04a41e762589358418c65fd99891bb4.zip |
core: improved bad block error reporting (#3320)
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 2 |
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 { |