mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Merge pull request #430 from ethersphere/remove-double-stream-protocol
swarm: remove double stream protocol in protocols
This commit is contained in:
commit
5e07db47fa
1 changed files with 0 additions and 3 deletions
|
|
@ -449,9 +449,6 @@ func (self *Swarm) Protocols() (protos []p2p.Protocol) {
|
||||||
if self.ps != nil {
|
if self.ps != nil {
|
||||||
protos = append(protos, self.ps.Protocols()...)
|
protos = append(protos, self.ps.Protocols()...)
|
||||||
}
|
}
|
||||||
if self.streamer != nil {
|
|
||||||
protos = append(protos, self.streamer.Protocols()...)
|
|
||||||
}
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue