Skip to content

Commit fcd905c

Browse files
authored
Update sync-protocol.md
1 parent fed320c commit fcd905c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs/altair/light-client/sync-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def is_better_update(new_update: LightClientUpdate, old_update: LightClientUpdat
204204
new_has_supermajority = new_num_active_participants * 3 >= max_active_participants * 2
205205
old_has_supermajority = old_num_active_participants * 3 >= max_active_participants * 2
206206
if new_has_supermajority != old_has_supermajority:
207-
return new_has_supermajority > old_has_supermajority
207+
return new_has_supermajority
208208
if not new_has_supermajority and new_num_active_participants != old_num_active_participants:
209209
return new_num_active_participants > old_num_active_participants
210210

0 commit comments

Comments
 (0)