Logging messages

This commit is contained in:
obscuren
2014-09-26 20:19:11 +02:00
parent 0acdeca3d6
commit e20b113053
2 changed files with 4 additions and 2 deletions

View File

@@ -251,7 +251,7 @@ func (sm *StateManager) Process(block *Block, dontReact bool) (err error) {
fk := append([]byte("bloom"), block.Hash()...)
sm.Ethereum.Db().Put(fk, filter.Bin())
statelogger.Debugf("Added block #%d (%x)\n", block.Number, block.Hash())
statelogger.Infof("Imported block #%d (%x...)\n", block.Number, block.Hash()[0:4])
if dontReact == false {
sm.Ethereum.Reactor().Post("newBlock", block)