Merge pull request #430 from ethersphere/remove-double-stream-protocol

swarm: remove double stream protocol in protocols
This commit is contained in:
Anton Evangelatov 2018-04-25 16:41:02 +02:00 committed by GitHub
commit 5e07db47fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -449,9 +449,6 @@ func (self *Swarm) Protocols() (protos []p2p.Protocol) {
if self.ps != nil {
protos = append(protos, self.ps.Protocols()...)
}
if self.streamer != nil {
protos = append(protos, self.streamer.Protocols()...)
}
return
}