From b01b2762d83bf7ddf2fab8e22e8cd066d11540ea Mon Sep 17 00:00:00 2001 From: Roman Krasiuk Date: Fri, 19 Jul 2024 02:16:30 -0700 Subject: [PATCH] typo: state root error (#9641) --- crates/storage/db-common/src/init.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/storage/db-common/src/init.rs b/crates/storage/db-common/src/init.rs index bbaf61cf3e..0256c582b8 100644 --- a/crates/storage/db-common/src/init.rs +++ b/crates/storage/db-common/src/init.rs @@ -64,7 +64,7 @@ pub enum InitDatabaseError { #[error( "state root mismatch, state dump: {expected_state_root}, computed: {computed_state_root}" )] - SateRootMismatch { + StateRootMismatch { /// Expected state root. expected_state_root: B256, /// Actual state root. @@ -333,7 +333,7 @@ pub fn init_from_state_dump( "Computed state root does not match state root in state dump" ); - Err(InitDatabaseError::SateRootMismatch { expected_state_root, computed_state_root })? + Err(InitDatabaseError::StateRootMismatch { expected_state_root, computed_state_root })? } else { info!(target: "reth::cli", ?computed_state_root,