fix floodsub id for secondary protocol
This commit is contained in:
parent
06b0999ba0
commit
4c3dd1330f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue