mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-05 15:52:55 +00:00
Info => Debug
This commit is contained in:
parent
ad13b402d7
commit
d3a0bb4f35
1 changed files with 1 additions and 3 deletions
|
|
@ -250,15 +250,13 @@ func (sm *StateManager) Process(block *Block, dontReact bool) (err error) {
|
||||||
fk := append([]byte("bloom"), block.Hash()...)
|
fk := append([]byte("bloom"), block.Hash()...)
|
||||||
sm.Ethereum.Db().Put(fk, filter.Bin())
|
sm.Ethereum.Db().Put(fk, filter.Bin())
|
||||||
|
|
||||||
statelogger.Infof("Added block #%d (%x)\n", block.Number, block.Hash())
|
statelogger.Debugf("Added block #%d (%x)\n", block.Number, block.Hash())
|
||||||
if dontReact == false {
|
if dontReact == false {
|
||||||
sm.Ethereum.Reactor().Post("newBlock", block)
|
sm.Ethereum.Reactor().Post("newBlock", block)
|
||||||
|
|
||||||
state.Manifest().Reset()
|
state.Manifest().Reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
sm.Ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{block.Value().Val})
|
|
||||||
|
|
||||||
sm.Ethereum.TxPool().RemoveInvalid(state)
|
sm.Ethereum.TxPool().RemoveInvalid(state)
|
||||||
} else {
|
} else {
|
||||||
statelogger.Errorln("total diff failed")
|
statelogger.Errorln("total diff failed")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue