aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-23 23:55:40 +0800
committerobscuren <geffobscura@gmail.com>2015-03-23 23:55:40 +0800
commitd7eaa97a297151637af090ecb05bbd6d260d90b8 (patch)
tree4df3d8f818b0c6216d5152e89fbff0caf07b3369 /core
parent211cb03f83c8bdfd29af31fd27dc531dfcb13630 (diff)
downloaddexon-d7eaa97a297151637af090ecb05bbd6d260d90b8.tar.gz
dexon-d7eaa97a297151637af090ecb05bbd6d260d90b8.tar.zst
dexon-d7eaa97a297151637af090ecb05bbd6d260d90b8.zip
moved to error
Diffstat (limited to 'core')
-rw-r--r--core/chain_manager.go11
1 files changed, 2 insertions, 9 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 56ea4de9f..a3be3878f 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)
-}
-*/