Commit a6c0a75f authored by obscuren's avatar obscuren

eth: fixed proper BroadcastBlock for mined blocks

parent f1ae3dc4
...@@ -467,7 +467,7 @@ func (self *Ethereum) minedBroadcastLoop() { ...@@ -467,7 +467,7 @@ func (self *Ethereum) minedBroadcastLoop() {
for obj := range self.minedBlockSub.Chan() { for obj := range self.minedBlockSub.Chan() {
switch ev := obj.(type) { switch ev := obj.(type) {
case core.NewMinedBlockEvent: case core.NewMinedBlockEvent:
self.protocolManager.BroadcastBlock(ev.Block) self.protocolManager.BroadcastBlock(ev.Block.Hash(), ev.Block)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment