From ce595b9266d658a5eae626d78aec7f47c04222ca Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 10 Mar 2015 20:28:20 +0100 Subject: fallback --- core/chain_manager.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/chain_manager.go b/core/chain_manager.go index 9dc41f421..97c61395e 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -440,12 +440,14 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { self.setTotalDifficulty(td) self.insert(block) + /* XXX crashes jsonlogger.LogJson(&logger.EthChainNewHead{ BlockHash: ethutil.Bytes2Hex(block.Hash()), BlockNumber: block.Number(), ChainHeadHash: ethutil.Bytes2Hex(cblock.Hash()), BlockPrevHash: ethutil.Bytes2Hex(block.ParentHash()), }) + */ self.setTransState(state.New(block.Root(), self.stateDb)) queue[i] = ChainEvent{block} -- cgit v1.2.3