Skip to content

Commit

Permalink
Remove abs check
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Feb 22, 2024
1 parent 9e3656f commit cc3456c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ic-agent/src/agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit cc3456c

Please sign in to comment.