aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-15 20:54:07 +0800
committerobscuren <geffobscura@gmail.com>2014-05-15 20:54:07 +0800
commitf95993e326567555d0a2e1f96974c34e7b3a214f (patch)
tree02a857bcd4d4cde7b2f2d491062d56782736107b /ethchain/state_manager.go
parent7bf2ae0b116fff0fede5b1455c5fda20caf98252 (diff)
downloadgo-tangerine-f95993e326567555d0a2e1f96974c34e7b3a214f.tar
go-tangerine-f95993e326567555d0a2e1f96974c34e7b3a214f.tar.gz
go-tangerine-f95993e326567555d0a2e1f96974c34e7b3a214f.tar.bz2
go-tangerine-f95993e326567555d0a2e1f96974c34e7b3a214f.tar.lz
go-tangerine-f95993e326567555d0a2e1f96974c34e7b3a214f.tar.xz
go-tangerine-f95993e326567555d0a2e1f96974c34e7b3a214f.tar.zst
go-tangerine-f95993e326567555d0a2e1f96974c34e7b3a214f.zip
M
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r--ethchain/state_manager.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index 57d56469b..143d9d647 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -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)