Fix spellcheck (#1110)

* fix spellcheck

* invariants
This commit is contained in:
Svyatoslav Nikolsky
2021-09-03 18:55:56 +03:00
committed by Bastian Köcher
parent 5c71f0e996
commit 88fa487631
5 changed files with 5 additions and 5 deletions
@@ -27,7 +27,7 @@ pub enum RpcError {
Serialization(serde_json::Error),
/// An error occurred when interacting with an Ethereum node.
Ethereum(EthereumNodeError),
/// An error occured when interacting with a Substrate node.
/// An error occurred when interacting with a Substrate node.
Substrate(SubstrateNodeError),
/// Error running relay loop.
SyncLoop(String),
+1 -1
View File
@@ -159,7 +159,7 @@ pub struct SubmittedHeaders<Id, Error> {
/// IDs of ignored headers that we have decided not to submit (they are either rejected by
/// target node immediately, or their descendants of incomplete headers).
pub rejected: Vec<Id>,
/// Fatal target node error, if it has occured during submission.
/// Fatal target node error, if it has occurred during submission.
pub fatal_error: Option<Error>,
}