mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 12:40:05 +00:00
use floodsub (#1992)
This commit is contained in:
parent
b1ffc693e0
commit
2c1f29922e
@ -79,7 +79,7 @@ func NewServer(cfg *ServerConfig) (*Server, error) {
|
||||
// distributed hash table by their peer ID.
|
||||
h = rhost.Wrap(h, dht)
|
||||
|
||||
gsub, err := pubsub.NewGossipSub(ctx, h)
|
||||
gsub, err := pubsub.NewFloodSub(ctx, h)
|
||||
if err != nil {
|
||||
cancel()
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user