aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-19 23:30:01 +0800
committerobscuren <geffobscura@gmail.com>2015-03-19 23:30:01 +0800
commite540a75030de611ca8cf0a70621421b6aa3fbebf (patch)
treeea387490497b060c614e0b5d7bb509ad6b9a72f1
parent03b8ddd19cc19ff947a61aff18ad8730941502c4 (diff)
downloaddexon-e540a75030de611ca8cf0a70621421b6aa3fbebf.tar
dexon-e540a75030de611ca8cf0a70621421b6aa3fbebf.tar.gz
dexon-e540a75030de611ca8cf0a70621421b6aa3fbebf.tar.bz2
dexon-e540a75030de611ca8cf0a70621421b6aa3fbebf.tar.lz
dexon-e540a75030de611ca8cf0a70621421b6aa3fbebf.tar.xz
dexon-e540a75030de611ca8cf0a70621421b6aa3fbebf.tar.zst
dexon-e540a75030de611ca8cf0a70621421b6aa3fbebf.zip
re-enabled json logging
-rw-r--r--core/chain_manager.go2
1 files changed, 0 insertions, 2 deletions
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))