Typo fixes
This commit is contained in:
parent
5521c53d36
commit
f8e20d8027
@ -177,7 +177,7 @@ where
|
|||||||
Self::OutEvent,
|
Self::OutEvent,
|
||||||
>,
|
>,
|
||||||
> {
|
> {
|
||||||
// search of peers if it is time
|
// search for peers if it is time
|
||||||
loop {
|
loop {
|
||||||
match self.peer_discovery_delay.poll() {
|
match self.peer_discovery_delay.poll() {
|
||||||
Ok(Async::Ready(_)) => {
|
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
|
/// Loads an ENR from file if it exists and matches the current NodeId and sequence number. If none
|
||||||
/// exists, generates a new one.
|
/// 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.
|
/// ENR sequence will be equal or higher than a newly generated one.
|
||||||
fn load_enr(
|
fn load_enr(
|
||||||
local_key: &Keypair,
|
local_key: &Keypair,
|
||||||
|
Loading…
Reference in New Issue
Block a user