mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +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 {
|
||||
protos = append(protos, self.ps.Protocols()...)
|
||||
}
|
||||
if self.streamer != nil {
|
||||
protos = append(protos, self.streamer.Protocols()...)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue