chore: rename HighestStaticFiles::min (#13235)

This commit is contained in:
Dan Cline
2024-12-09 12:14:39 -05:00
committed by GitHub
parent da5ffc24c2
commit b5bbb8d751
4 changed files with 10 additions and 9 deletions

View File

@ -256,7 +256,7 @@ impl<N: ProviderNodeTypes> Pipeline<N> {
pub fn move_to_static_files(&self) -> RethResult<()> {
// Copies data from database to static files
let lowest_static_file_height =
self.static_file_producer.lock().copy_to_static_files()?.min();
self.static_file_producer.lock().copy_to_static_files()?.min_block_num();
// Deletes data which has been copied to static files.
if let Some(prune_tip) = lowest_static_file_height {