eth: fix comment typo in handler.go

This commit is contained in:
Guillaume Ballet 2020-01-17 18:56:40 +01:00
parent f20c8d495a
commit 86c59b6b05

View file

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