mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rename HighestStaticFiles::min (#13235)
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user