aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
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
parentb0798e0a72fef9823053b064f64a1a49681b10ca (diff)
downloaddexon-a4883a029f3585d7e263661c30cbd147f3d5d655.tar
dexon-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.gz
dexon-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.bz2
dexon-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.lz
dexon-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.xz
dexon-a4883a029f3585d7e263661c30cbd147f3d5d655.tar.zst
dexon-a4883a029f3585d7e263661c30cbd147f3d5d655.zip
Propagate back to network
Diffstat (limited to 'ethchain')
-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")
}