Skip to content

Commit

Permalink
Fix CI (#4198)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph authored Jan 27, 2025
1 parent d967115 commit 0a0916a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index/reorg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ impl Reorg {
}

pub(crate) fn is_savepoint_required(index: &Index, height: u32) -> Result<bool> {
if let redb::Durability::None = index.durability {
return Ok(false);
}

let height = u64::from(height);

let last_savepoint_height = index
Expand Down

0 comments on commit 0a0916a

Please sign in to comment.