mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
swarm: remove double swarm protocol in protocols
This commit is contained in:
parent
0f3dc214e4
commit
458dd1a7b6
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