Skip to content

Commit

Permalink
docs: improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Jun 30, 2023
1 parent 00f5539 commit 08c9154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iroh-net/src/magic_endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ impl MagicEndpoint {

/// Inform the magic socket about addresses of the peer.
///
/// The magic socket will try to connect to these addresses, and if successfull,
/// prefer them over talking to the peer over the DERP relay.
/// This updates the magic socket's *netmap* with these addresses, which are used as candidates
/// when connecting to this peer (in addition to addresses obtained from a derp server).
pub async fn add_known_addrs(
&self,
peer_id: PeerId,
Expand Down

0 comments on commit 08c9154

Please sign in to comment.