This commit is contained in:
obscuren
2014-05-15 14:54:07 +02:00
parent 7bf2ae0b11
commit f95993e326
2 changed files with 3 additions and 3 deletions

View File

@ -193,11 +193,11 @@ func (sm *StateManager) ProcessBlock(block *Block, dontReact bool) error {
if dontReact == false {
sm.Ethereum.Reactor().Post("newBlock", block)
sm.notifyChanges()
sm.procState.manifest.Reset()
}
sm.notifyChanges()
sm.Ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{block.Value().Val})
sm.Ethereum.TxPool().RemoveInvalid(sm.procState)