From d7eaa97a297151637af090ecb05bbd6d260d90b8 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 23 Mar 2015 16:55:40 +0100 Subject: [PATCH] moved to error --- core/chain_manager.go | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/core/chain_manager.go b/core/chain_manager.go index 56ea4de9f2..a3be3878fe 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -455,8 +455,8 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { } h := block.Header() - chainlogger.Infof("INVALID block #%v (%x)\n", h.Number, h.Hash().Bytes()[:4]) - chainlogger.Infoln(err) + chainlogger.Errorf("INVALID block #%v (%x)\n", h.Number, h.Hash().Bytes()[:4]) + chainlogger.Errorln(err) chainlogger.Debugln(block) return err } @@ -542,10 +542,3 @@ out: } } } - -/* -// Satisfy state query interface -func (self *ChainManager) GetAccount(addr common.Hash) *state.StateObject { - return self.State().GetAccount(addr) -} -*/