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

ChrisChinchilla-patch-3
Guillaume Ballet 5 years ago committed by Felix Lange
parent 33c56ebc67
commit 8a5c81349e
  1. 4
      eth/handler.go

@ -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)

Loading…
Cancel
Save