mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
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:
commit
5ebb9f1be1
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