Fix typos in network-devp2p (#9371)

This commit is contained in:
Niklas Adolfsson
2018-08-17 16:04:03 +02:00
committed by Andronik Ordian
parent 3ae10915e4
commit 18a8d2f67f
5 changed files with 18 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ pub type NodeId = H512;
pub struct NodeEndpoint {
/// IP(V4 or V6) address
pub address: SocketAddr,
/// Conneciton port.
/// Connection port.
pub udp_port: u16
}
@@ -373,7 +373,7 @@ impl NodeTable {
self.useless_nodes.insert(id.clone());
}
/// Atempt to connect to useless nodes again.
/// Attempt to connect to useless nodes again.
pub fn clear_useless(&mut self) {
self.useless_nodes.clear();
}