Fix typos in network-devp2p (#9371)
This commit is contained in:
committed by
Andronik Ordian
parent
3ae10915e4
commit
18a8d2f67f
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user