parser: fixed hanging + global: snapshot

This commit is contained in:
nym21
2025-02-23 21:53:39 +01:00
parent 19cf34f9d4
commit 8acbcc548c
30 changed files with 372 additions and 383 deletions
+1 -4
View File
@@ -2,7 +2,7 @@ use std::path::Path;
use serde::{Deserialize, Serialize};
use crate::{path_to_modified_time, Height};
use crate::{Height, path_to_modified_time};
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
#[repr(C)]
@@ -13,9 +13,6 @@ pub struct BlkRecap {
impl BlkRecap {
pub fn has_different_modified_time(&self, blk_path: &Path) -> bool {
if self.modified_time != path_to_modified_time(blk_path) {
dbg!(self.modified_time, path_to_modified_time(blk_path));
}
self.modified_time != path_to_modified_time(blk_path)
}
}