mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
fix(cli): snapshot up to the best block number, not last (#6042)
This commit is contained in:
@@ -174,7 +174,7 @@ impl Command {
|
||||
segment: impl Segment + Send + Sync,
|
||||
) -> eyre::Result<()> {
|
||||
let dir = PathBuf::default();
|
||||
let ranges = self.block_ranges(factory.last_block_number()?);
|
||||
let ranges = self.block_ranges(factory.best_block_number()?);
|
||||
|
||||
let mut created_snapshots = vec![];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user