mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
swarm/network/protocol: Fix protocol initialization
This commit is contained in:
parent
619d9ad52a
commit
11a57186fc
1 changed files with 0 additions and 6 deletions
|
|
@ -170,12 +170,6 @@ func (b *Bzz) Protocols() []p2p.Protocol {
|
|||
NodeInfo: b.Hive.NodeInfo,
|
||||
PeerInfo: b.Hive.PeerInfo,
|
||||
},
|
||||
{
|
||||
Name: b.streamerSpec.Name,
|
||||
Version: b.streamerSpec.Version,
|
||||
Length: b.streamerSpec.Length(),
|
||||
Run: b.RunProtocol(b.streamerSpec, b.streamerRun),
|
||||
},
|
||||
}
|
||||
if b.streamerSpec != nil && b.streamerRun != nil {
|
||||
protocol = append(protocol, p2p.Protocol{
|
||||
|
|
|
|||
Loading…
Reference in a new issue