diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-14 19:43:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-14 19:43:10 +0800 |
commit | 532a74f50e6e79314816edbc14e5da7449a50709 (patch) | |
tree | 02e561960fe71263d5e8d4015468b16dc08a69ca /core | |
parent | 51df765e3892285bda6d40340dc6febfcd2e7ce6 (diff) | |
download | dexon-532a74f50e6e79314816edbc14e5da7449a50709.tar.gz dexon-532a74f50e6e79314816edbc14e5da7449a50709.tar.zst dexon-532a74f50e6e79314816edbc14e5da7449a50709.zip |
Improved errors. Closes #475
Diffstat (limited to 'core')
-rw-r--r-- | core/chain_manager.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go index 5879d20a3..af9053820 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -418,9 +418,9 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { } h := block.Header() - chainlogger.Infof("block #%v process failed (%x)\n", h.Number, h.Hash()[:4]) - chainlogger.Infoln(block) + chainlogger.Infof("INVALID block #%v (%x)\n", h.Number, h.Hash()[:4]) chainlogger.Infoln(err) + chainlogger.Debufln(block) return err } block.Td = td |