Skip to main content

resumed_clock

Function resumed_clock 

Source
pub(crate) fn resumed_clock(
    expires: Instant,
    expires_at_ms: i64,
    paused_at: Instant,
    now: Instant,
) -> (Instant, i64)
Expand description

Where an Auto-approve grant’s end moves to when its clock ran from paused_at to now while paused: later by exactly the paused time, both as an Instant and as the header’s epoch milliseconds.