forked from cerc-io/plugeth
eth: fix comment typo in handler.go (#20575)
This commit is contained in:
parent
33c56ebc67
commit
8a5c81349e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user