Skip to main content

check_expiry

Function check_expiry 

Source
fn check_expiry(
    expiry: Option<u64>,
    chain_timestamp: &ChainTimestamp,
    prefix: &str,
    hint: &str,
) -> DoctorStep
Expand description

Expiry check shared by on-chain keys (prefix empty) and pending authorizations (prefix = "key_authorization "). None means the key never expires.