diff --git a/crates/stages/stages/src/stages/headers.rs b/crates/stages/stages/src/stages/headers.rs index 6b326034f7..e2b13cdd01 100644 --- a/crates/stages/stages/src/stages/headers.rs +++ b/crates/stages/stages/src/stages/headers.rs @@ -317,8 +317,9 @@ where // First unwind the db tables, until the unwind_to block number. use the walker to unwind // HeaderNumbers based on the index in CanonicalHeaders + // unwind from the next block number since the unwind_to block is exclusive provider.unwind_table_by_walker::( - input.unwind_to.., + (input.unwind_to + 1).., )?; provider.unwind_table_by_num::(input.unwind_to)?; provider.unwind_table_by_num::(input.unwind_to)?;