From e540a75030de611ca8cf0a70621421b6aa3fbebf Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 19 Mar 2015 16:30:01 +0100 Subject: re-enabled json logging --- core/chain_manager.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'core') diff --git a/core/chain_manager.go b/core/chain_manager.go index 88518e62b..64ea8957d 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -444,14 +444,12 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { self.setTotalDifficulty(td) self.insert(block) - /* XXX crashes jsonlogger.LogJson(&logger.EthChainNewHead{ BlockHash: common.Bytes2Hex(block.Hash()), BlockNumber: block.Number(), ChainHeadHash: common.Bytes2Hex(cblock.Hash()), BlockPrevHash: common.Bytes2Hex(block.ParentHash()), }) - */ self.setTransState(state.New(block.Root(), self.stateDb)) self.setTxState(state.New(block.Root(), self.stateDb)) -- cgit