fix: correct typos in error messages and logs (#20894)

This commit is contained in:
FT
2026-01-10 09:54:31 +01:00
committed by GitHub
parent 746baed2b1
commit 44a6035fa3
2 changed files with 2 additions and 2 deletions

View File

@@ -64,6 +64,6 @@ pub enum EthStatsError {
DataFetchError(String), DataFetchError(String),
/// The request sent to the server was invalid or malformed /// The request sent to the server was invalid or malformed
#[error("Inivalid request")] #[error("Invalid request")]
InvalidRequest, InvalidRequest,
} }

View File

@@ -373,7 +373,7 @@ impl<'a, T: TrieCursorFactory, H: HashedCursorFactory + Clone> Verifier<'a, T, H
}; };
if curr_account < next_account || (end_inclusive && curr_account == next_account) { if curr_account < next_account || (end_inclusive && curr_account == next_account) {
trace!(target: "trie::verify", account = ?curr_account, "Verying account has empty storage"); trace!(target: "trie::verify", account = ?curr_account, "Verifying account has empty storage");
let mut storage_cursor = let mut storage_cursor =
self.trie_cursor_factory.storage_trie_cursor(curr_account)?; self.trie_cursor_factory.storage_trie_cursor(curr_account)?;