Merge branch 'swarm-bootnode-2-no-discovery' of https://github.com/ethersphere/go-ethereum into swarm-bootnode-2-no-discovery

This commit is contained in:
Anton Evangelatov 2019-01-22 14:22:38 +01:00
commit 5ebb9f1be1

View file

@ -424,7 +424,7 @@ func (p *Peer) Handshake(ctx context.Context, hs interface{}, verify func(interf
return rhs, nil return rhs, nil
} }
// HasCap returns true fi Peer has a capability // HasCap returns true if Peer has a capability
// with provided name. // with provided name.
func (p *Peer) HasCap(capName string) (yes bool) { func (p *Peer) HasCap(capName string) (yes bool) {
if p == nil || p.Peer == nil { if p == nil || p.Peer == nil {