From b0ab18cf5c8dae44656c584f447b1ea1e870c875 Mon Sep 17 00:00:00 2001 From: mjalalzai <33738574+MForensic@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:45:05 -0700 Subject: [PATCH] update high_qc --- carnot/carnot-vote-aggregation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/carnot/carnot-vote-aggregation.py b/carnot/carnot-vote-aggregation.py index bbfa792..7886832 100644 --- a/carnot/carnot-vote-aggregation.py +++ b/carnot/carnot-vote-aggregation.py @@ -279,5 +279,5 @@ class Carnot: self.local_high_qc = new_qc.high_qc() # If my view is not updated, I update it when I see a QC for that view - if qc.view == self.current_view: - self.current_view += 1 + if qc.view >= self.current_view: + self.current_view = qc.view + 1