aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-11 03:28:20 +0800
committerobscuren <geffobscura@gmail.com>2015-03-11 03:28:20 +0800
commitce595b9266d658a5eae626d78aec7f47c04222ca (patch)
treeaca528b9e907b97d5da56aeef7a4788fabf54b17 /core
parent35841e51901149a496645b3c3c6be4ec7a58e6c6 (diff)
downloadgo-tangerine-ce595b9266d658a5eae626d78aec7f47c04222ca.tar.gz
go-tangerine-ce595b9266d658a5eae626d78aec7f47c04222ca.tar.zst
go-tangerine-ce595b9266d658a5eae626d78aec7f47c04222ca.zip
fallback
Diffstat (limited to 'core')
-rw-r--r--core/chain_manager.go2
1 files changed, 2 insertions, 0 deletions
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}