diff --git a/eth/backend.go b/eth/backend.go index 72149ad2be..c84e69a4e9 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -307,7 +307,7 @@ func (self *Ethereum) txBroadcastLoop() { func (self *Ethereum) blockBroadcastLoop() { // automatically stops if unsubscribe - for obj := range self.txSub.Chan() { + for obj := range self.blockSub.Chan() { switch ev := obj.(type) { case core.NewMinedBlockEvent: self.net.Broadcast("eth", NewBlockMsg, ev.Block.RlpData())