all: fix typos in comments (#21118)
This commit is contained in:
@ -150,7 +150,7 @@ func (p *peerCommons) isFrozen() bool {
|
||||
return atomic.LoadUint32(&p.frozen) != 0
|
||||
}
|
||||
|
||||
// canQueue returns an indicator whether the peer can queue a operation.
|
||||
// canQueue returns an indicator whether the peer can queue an operation.
|
||||
func (p *peerCommons) canQueue() bool {
|
||||
return p.sendQueue.CanQueue() && !p.isFrozen()
|
||||
}
|
||||
|
Reference in New Issue
Block a user