mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth: fix comment typo in handler.go
This commit is contained in:
parent
f20c8d495a
commit
86c59b6b05
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue