Skip to content

Commit

Permalink
Fix comparison preventing automatic failover
Browse files Browse the repository at this point in the history
  • Loading branch information
SupernaviX committed Oct 2, 2024
1 parent 27fec6a commit c59978b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/signature_aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ impl SignatureAggregator {
let last_updated = entry.timestamp.unwrap_or(payload.timestamp);
if latest_entries
.get(&synthetic)
.is_some_and(|e| e.timestamp > last_updated)
.is_some_and(|e| e.timestamp >= last_updated)
{
// This isn't actually a NEW payload...
continue;
}
updated.insert(synthetic.clone());
Expand Down

0 comments on commit c59978b

Please sign in to comment.