diff --git a/ic-agent/src/agent/mod.rs b/ic-agent/src/agent/mod.rs index 6e0d265e..6a7d6b88 100644 --- a/ic-agent/src/agent/mod.rs +++ b/ic-agent/src/agent/mod.rs @@ -882,7 +882,6 @@ impl Agent { let time = lookup_time(cert)?; if (OffsetDateTime::now_utc() - OffsetDateTime::from_unix_timestamp_nanos(time.into()).unwrap()) - .abs() > self.ingress_expiry { Err(AgentError::CertificateOutdated(self.ingress_expiry))