eth: fix comment typo in handler.go (#20575)

This commit is contained in:
Guillaume Ballet 2020-01-23 16:08:06 +01:00 committed by Felix Lange
parent 33c56ebc67
commit 8a5c81349e

View File

@ -749,8 +749,8 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
return nil return nil
} }
// BroadcastBlock will either propagate a block to a subset of it's peers, or // BroadcastBlock will either propagate a block to a subset of its peers, or
// will only announce it's availability (depending what's requested). // will only announce its availability (depending what's requested).
func (pm *ProtocolManager) BroadcastBlock(block *types.Block, propagate bool) { func (pm *ProtocolManager) BroadcastBlock(block *types.Block, propagate bool) {
hash := block.Hash() hash := block.Hash()
peers := pm.peers.PeersWithoutBlock(hash) peers := pm.peers.PeersWithoutBlock(hash)