fix floodsub id for secondary protocol

This commit is contained in:
vyzo 2018-10-10 17:39:38 +03:00
parent 06b0999ba0
commit 4c3dd1330f
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ type RandomSubRouter struct {
}
func (rs *RandomSubRouter) Protocols() []protocol.ID {
return []protocol.ID{RandomSubID, RandomSubID}
return []protocol.ID{RandomSubID, FloodSubID}
}
func (rs *RandomSubRouter) Attach(p *PubSub) {