mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 08:37:59 -05:00
typo: state root error (#9641)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user