mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use correct assert message (#13591)
This commit is contained in:
@ -121,7 +121,7 @@ pub(crate) fn setup<N: NodeTypesWithDB>(
|
|||||||
output_db: &PathBuf,
|
output_db: &PathBuf,
|
||||||
db_tool: &DbTool<N>,
|
db_tool: &DbTool<N>,
|
||||||
) -> eyre::Result<(DatabaseEnv, u64)> {
|
) -> 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");
|
info!(target: "reth::cli", ?output_db, "Creating separate db");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user