Skip to content

Commit

Permalink
docs(swarm): document Swarm::external_addresses
Browse files Browse the repository at this point in the history
Pull-Request: #4159.
  • Loading branch information
mxinden authored Jul 7, 2023
1 parent 7308221 commit b6b8844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ where
&self.local_peer_id
}

/// TODO
/// List all **confirmed** external address for the local node.
pub fn external_addresses(&self) -> impl Iterator<Item = &Multiaddr> {
self.confirmed_external_addr.iter()
}
Expand Down

0 comments on commit b6b8844

Please sign in to comment.