Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxianBoy committed Mar 28, 2024
1 parent 6707bcf commit 5cba289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//! undergoes a handshake, which results in a `Session`. These are established when needed and get
//! dropped after a timeout. The creation and maintenance of sessions between nodes and the
//! encryption/decryption of packets from the socket is realised by the [`handler::Handler`] struct
//! runnning in its own task.
//! running in its own task.
//! - [`service`]: Contains the protocol-level logic. The [`service::Service`] manages the routing
//! table of known ENR's, and performs parallel queries for peer discovery. It also runs in it's
//! own task.
Expand Down
2 changes: 1 addition & 1 deletion src/socket/recv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl RecvHandler {
// Since the Enr has no way to communicate scope ids, we opt for zeroing this data in order
// to facilitate connectivity for nodes with a link-local address with an only interface.
//
// At the same time, we accept the risk of colission of nodes in a topology where there are
// At the same time, we accept the risk of collision of nodes in a topology where there are
// multiple interfaces and two nodes with the same link-local address. This risk is small
// based in additional checks to packets.
if let SocketAddr::V6(ref mut v6_socket_addr) = src_address {
Expand Down

0 comments on commit 5cba289

Please sign in to comment.