Skip to content

Commit df23440

Browse files
committed
typo
1 parent 40136e5 commit df23440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/guides/getting-started/webrtc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ A couple of note-worthy things about these changes:
449449
- The `pubsub` service adds GossipSub protocol capabilities to the node.
450450
- `pubsubPeerDiscovery` depends on the `pubsub` service and introduces the peer discovery mechanism. [GossipSub is a large dependency](https://packagephobia.com/result?p=%40chainsafe%2Flibp2p-gossipsub) making it suboptimal for browser bundles.
451451
- When js-libp2p discovers a new peer (and its multiaddrs) it emits a `peer:discovery` event.
452-
- To dial the newly discovered peers, add an event listener for the `peer:discovery` event and dial the peer with the `dial` method.
452+
- To dial a newly discovered peer, add an event listener for the `peer:discovery` event and dial the peer with the `dial` method.
453453
- PubSub peer discovery works well for demos and guides, but its current design is not battle-tested for production use cases.
454454

455455
Next, open two browser tabs of the frontend, and you should see them connected to each other within a couple of seconds 🎉.

0 commit comments

Comments
 (0)