mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
perf(era-utils): avoid unnecessary PathBuf clone in export (#19530)
This commit is contained in:
@@ -219,12 +219,12 @@ where
|
||||
writer.write_accumulator(&accumulator)?;
|
||||
writer.write_block_index(&block_index)?;
|
||||
writer.flush()?;
|
||||
created_files.push(file_path.clone());
|
||||
|
||||
info!(
|
||||
target: "era::history::export",
|
||||
"Wrote ERA1 file: {file_path:?} with {blocks_written} blocks"
|
||||
);
|
||||
created_files.push(file_path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user