From a6c0a75f9a897f2f2003b696840467ad170d6a1b Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 18 Apr 2015 02:38:13 +0200 Subject: eth: fixed proper BroadcastBlock for mined blocks --- eth/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth/backend.go') diff --git a/eth/backend.go b/eth/backend.go index 07552ad5a..7799326fe 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -467,7 +467,7 @@ func (self *Ethereum) minedBroadcastLoop() { for obj := range self.minedBlockSub.Chan() { switch ev := obj.(type) { case core.NewMinedBlockEvent: - self.protocolManager.BroadcastBlock(ev.Block) + self.protocolManager.BroadcastBlock(ev.Block.Hash(), ev.Block) } } } -- cgit