From 6048f1abf6ea64a546993f76b89fd35d28921702 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Tue, 12 Jul 2022 07:37:12 +0200 Subject: [PATCH] More concise finality ranking --- 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 7a5905063..144c5c980 100644 --- a/specs/altair/sync-protocol.md +++ b/specs/altair/sync-protocol.md @@ -153,7 +153,7 @@ def is_better_update(new_update: LightClientUpdate, old_update: LightClientUpdat == compute_sync_committee_period_at_slot(old_update.signature_slot) ) if new_has_relevant_sync_committee != old_has_relevant_sync_committee: - return new_has_relevant_sync_committee > old_has_relevant_sync_committee + return new_has_relevant_sync_committee # Compare indication of any finality new_has_finality = is_finality_update(new_update)