Skip to content

Commit

Permalink
put back the integrity check on drop field
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Dec 10, 2024
1 parent 2a0b98f commit 952843a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/chia-datalayer/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ pub struct MerkleBlob {
// TODO: would be nice for this to be deterministic ala a fifo set
free_indexes: HashSet<TreeIndex>,
key_to_index: HashMap<KvId, TreeIndex>,
// TODO: used by fuzzing, some cleaner way?
#[cfg(any(test, debug_assertions))]
// TODO: used by fuzzing, some cleaner way? making it cfg-dependent is annoying with
// the type stubs
pub check_integrity_on_drop: bool,
}

Expand Down

0 comments on commit 952843a

Please sign in to comment.