typo: state root error (#9641)

This commit is contained in:
Roman Krasiuk
2024-07-19 02:16:30 -07:00
committed by GitHub
parent 2b3047fedb
commit b01b2762d8

View File

@@ -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<DB: Database>(
"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,