aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-30 06:08:43 +0800
committerobscuren <geffobscura@gmail.com>2015-04-30 06:14:41 +0800
commit2590a7dabbf6781734be0c388b46ecd53ece6155 (patch)
tree1341e4c8117aa1aedf33a6c5777678f958aa3c08 /core/chain_manager.go
parent04c209980bdecb848ae6e397e808e62aecaece39 (diff)
downloaddexon-2590a7dabbf6781734be0c388b46ecd53ece6155.tar.gz
dexon-2590a7dabbf6781734be0c388b46ecd53ece6155.tar.zst
dexon-2590a7dabbf6781734be0c388b46ecd53ece6155.zip
core: added some additional chain tests for shortest chain
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r--core/chain_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 253228bfd..4fdb2edce 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -593,7 +593,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) (int, error) {
}
} else {
if glog.V(logger.Detail) {
- glog.Infof("inserted forked block #%d (%d TXs %d UNCs) (%x...)\n", block.Number(), len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4])
+ glog.Infof("inserted forked block #%d (TD=%v) (%d TXs %d UNCs) (%x...)\n", block.Number(), block.Difficulty(), len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4])
}
queue[i] = ChainSideEvent{block, logs}