This commit is contained in:
GoodDaisy
2023-10-19 22:05:15 +00:00
parent c6583bb5fa
commit 90f78d141f
12 changed files with 16 additions and 16 deletions

View File

@@ -123,7 +123,7 @@ pub struct Config {
/// Subscribe to all subnets for the duration of the runtime.
pub subscribe_all_subnets: bool,
/// Import/aggregate all attestations recieved on subscribed subnets for the duration of the
/// Import/aggregate all attestations received on subscribed subnets for the duration of the
/// runtime.
pub import_all_attestations: bool,

View File

@@ -849,7 +849,7 @@ impl<AppReqId: ReqId, TSpec: EthSpec> Network<AppReqId, TSpec> {
}
/// Inform the peer that their request produced an error.
pub fn send_error_reponse(
pub fn send_error_response(
&mut self,
peer_id: PeerId,
id: PeerRequestId,
@@ -1603,7 +1603,7 @@ impl<AppReqId: ReqId, TSpec: EthSpec> Network<AppReqId, TSpec> {
} => {
match reason {
Ok(_) => {
debug!(self.log, "Listener gracefuly closed"; "addresses" => ?addresses)
debug!(self.log, "Listener gracefully closed"; "addresses" => ?addresses)
}
Err(reason) => {
crit!(self.log, "Listener abruptly closed"; "addresses" => ?addresses, "reason" => ?reason)