aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-13 23:51:33 +0800
committerobscuren <geffobscura@gmail.com>2014-05-13 23:51:33 +0800
commita4883a029f3585d7e263661c30cbd147f3d5d655 (patch)
treeefe329a627f3bbc8f2b2dd55340598a8fd93f5dd /ethchain/state_manager.go
parentb0798e0a72fef9823053b064f64a1a49681b10ca (diff)
downloadgo-tangerine-a4883a029f3585d7e263661c30cbd147f3d5d655.tar
go-tangerine-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.gz
go-tangerine-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.bz2
go-tangerine-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.lz
go-tangerine-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.xz
go-tangerine-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.zst
go-tangerine-a4883a029f3585d7e263661c30cbd147f3d5d655.zip
Propagate back to network
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r--ethchain/state_manager.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index bc8b46831..8f1eb1ce5 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -197,6 +197,9 @@ func (sm *StateManager) ProcessBlock(block *Block, dontReact bool) error {
sm.procState.manifest.Reset()
}
+
+ sm.Ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{block.Value().Val})
+
} else {
fmt.Println("total diff failed")
}