diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-18 08:38:13 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-18 08:38:13 +0800 |
commit | a6c0a75f9a897f2f2003b696840467ad170d6a1b (patch) | |
tree | 606655e7d072f62a85d73d3f7061f21ce10e8f61 /eth | |
parent | f1ae3dc4aa8f706d758c4ee40fe6b3968ee18324 (diff) | |
download | dexon-a6c0a75f9a897f2f2003b696840467ad170d6a1b.tar.gz dexon-a6c0a75f9a897f2f2003b696840467ad170d6a1b.tar.zst dexon-a6c0a75f9a897f2f2003b696840467ad170d6a1b.zip |
eth: fixed proper BroadcastBlock for mined blocks
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } } } |