diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-23 23:14:33 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-23 23:14:33 +0800 |
commit | dc3a9379f50d0d5b41abc28acc2a871534968a77 (patch) | |
tree | 8c4f22d8542b3172835c70f14afc9a57dede15b3 /core/chain_manager.go | |
parent | 524f8199bfaddebc96798827e943667a909a03e7 (diff) | |
download | dexon-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar dexon-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.gz dexon-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.bz2 dexon-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.lz dexon-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.xz dexon-dc3a9379f50d0d5b41abc28acc2a871534968a77.tar.zst dexon-dc3a9379f50d0d5b41abc28acc2a871534968a77.zip |
logging for possible uncles
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r-- | core/chain_manager.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go index 755487900..192fa1df0 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -447,6 +447,11 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { continue } + if err == BlockEqualTSErr { + queue[i] = ChainSideEvent{block, logs} + continue + } + h := block.Header() chainlogger.Infof("INVALID block #%v (%x)\n", h.Number, h.Hash().Bytes()[:4]) chainlogger.Infoln(err) |