mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
p2p/protocols: fix a typo in comment
This commit is contained in:
parent
c4fb3e97d5
commit
99eea1cfcd
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ func (p *Peer) Handshake(ctx context.Context, hs interface{}, verify func(interf
|
|||
return rhs, nil
|
||||
}
|
||||
|
||||
// HasCap returns true fi Peer has a capability
|
||||
// HasCap returns true if Peer has a capability
|
||||
// with provided name.
|
||||
func (p *Peer) HasCap(capName string) (yes bool) {
|
||||
if p == nil || p.Peer == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue