Skip to content

Commit 0ade0bf

Browse files
committed
thanks coderabbit
1 parent a558988 commit 0ade0bf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

dash-spv/src/storage/segments.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,6 @@ impl<I: Persistable> SegmentCache<I> {
320320
}
321321

322322
self.evicted.clear();
323-
324-
for (_, segments) in self.segments.iter_mut() {
325-
if let Err(e) = segments.persist(&self.base_path).await {
326-
tracing::error!("Failed to persist segment: {}", e);
327-
}
328-
}
329323
}
330324

331325
pub async fn persist(&mut self) {

0 commit comments

Comments
 (0)