Skip to content

Commit 28ec4f9

Browse files
committed
refactor(pkg/p2p): swap GossipSub by FloodSub
1 parent 77b39d4 commit 28ec4f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/p2p/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ func (c *Client) tryConnect(ctx context.Context, peer peer.AddrInfo) {
450450

451451
func (c *Client) setupGossiping(ctx context.Context) error {
452452
var err error
453-
c.ps, err = pubsub.NewGossipSub(ctx, c.host)
453+
c.ps, err = pubsub.NewFloodSub(ctx, c.host)
454454
if err != nil {
455455
return err
456456
}

0 commit comments

Comments
 (0)