Typo fixes

This commit is contained in:
Age Manning 2019-07-01 16:40:35 +10:00
parent 5521c53d36
commit f8e20d8027
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93

View File

@ -177,7 +177,7 @@ where
Self::OutEvent,
>,
> {
// search of peers if it is time
// search for peers if it is time
loop {
match self.peer_discovery_delay.poll() {
Ok(Async::Ready(_)) => {
@ -241,7 +241,7 @@ where
/// Loads an ENR from file if it exists and matches the current NodeId and sequence number. If none
/// exists, generates a new one.
///
/// If an ENR exists, with the same NodeId and IP addresses, we use the disk-generated one as it's
/// If an ENR exists, with the same NodeId and IP address, we use the disk-generated one as its
/// ENR sequence will be equal or higher than a newly generated one.
fn load_enr(
local_key: &Keypair,