Skip to main content

derive_state

Function derive_state 

Source
pub fn derive_state(
    latest: Option<&CheckRecord>,
    current_hash: &str,
) -> CheckState
Expand description

Derive the state from the newest record (if any) and the entity’s current content_hash.