fix some typos (#3587)

Signed-off-by: cuinix <915115094@qq.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
cuinix
2024-03-09 05:28:04 +08:00
committed by GitHub
parent 1fe3c5f23b
commit ea458d0b95
19 changed files with 23 additions and 23 deletions
@@ -99,7 +99,7 @@ pub(crate) struct Initialized {
/// This is the highest `SessionIndex` seen via `ActiveLeavesUpdate`. It doesn't matter if it
/// was cached successfully or not. It is used to detect ancient disputes.
highest_session_seen: SessionIndex,
/// Will be set to `true` if an error occured during the last caching attempt
/// Will be set to `true` if an error occurred during the last caching attempt
gaps_in_cache: bool,
spam_slots: SpamSlots,
participation: Participation,
+2 -2
View File
@@ -415,7 +415,7 @@ async fn check_signing_credentials(
gum::warn!(
target: LOG_TARGET,
relay_parent = ?leaf,
"error occured during requesting validators: {:?}",
"error occurred during requesting validators: {:?}",
e
);
return None
@@ -508,7 +508,7 @@ async fn sign_and_submit_pvf_check_statement(
target: LOG_TARGET,
?relay_parent,
?validation_code_hash,
"error occured during submitting a vote: {:?}",
"error occurred during submitting a vote: {:?}",
e,
);
},