Skip to content

Commit

Permalink
Update def.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
donatik27 authored Nov 16, 2024
1 parent 05a0f21 commit 3a3c9d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/libp2p-networking/src/network/def.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use tracing::{debug, error};
use super::{behaviours::dht::store::ValidatedStore, cbor, NetworkEventInternal};

/// Overarching network behaviour performing:
/// - network topology discovoery
/// - network topology discovery
/// - direct messaging
/// - p2p broadcast
/// - connection management
Expand Down Expand Up @@ -78,7 +78,7 @@ impl<K: SignatureKey + 'static> NetworkDef<K> {
/// Add an address
pub fn add_address(&mut self, peer_id: &PeerId, address: Multiaddr) {
// NOTE to get this address to play nice with the other
// behaviours using the DHT for ouring
// behaviours using the DHT for routing
// we only need to add this address to the DHT since it
// is always enabled. If it were not always enabled,
// we would need to manually add the address to
Expand Down

0 comments on commit 3a3c9d9

Please sign in to comment.