Skip to content

Commit

Permalink
chore: use correct assert message (#13591)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviggiano authored Dec 29, 2024
1 parent 86e383f commit 343bee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/commands/src/stage/dump/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub(crate) fn setup<N: NodeTypesWithDB>(
output_db: &PathBuf,
db_tool: &DbTool<N>,
) -> eyre::Result<(DatabaseEnv, u64)> {
assert!(from < to, "FROM block should be bigger than TO block.");
assert!(from < to, "FROM block should be lower than TO block.");

info!(target: "reth::cli", ?output_db, "Creating separate db");

Expand Down

0 comments on commit 343bee5

Please sign in to comment.