From 33f572c98de16b4881436045bdd19493c83d39db Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 8 Jul 2022 22:05:48 -0700 Subject: [PATCH] More concise sync committee finality ranking Co-authored-by: Hsiao-Wei Wang --- specs/altair/sync-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/altair/sync-protocol.md b/specs/altair/sync-protocol.md index b9290e789..278f49ee0 100644 --- a/specs/altair/sync-protocol.md +++ b/specs/altair/sync-protocol.md @@ -144,7 +144,7 @@ def is_better_update(new_update: LightClientUpdate, old_update: LightClientUpdat == compute_sync_committee_period_at_slot(old_update.attested_header.slot) ) if new_has_sync_committee_finality != old_has_sync_committee_finality: - return new_has_sync_committee_finality > old_has_sync_committee_finality + return new_has_sync_committee_finality # Tiebreaker 1: Sync committee participation beyond supermajority if new_num_active_participants != old_num_active_participants: