mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-11 11:14:17 +00:00
Consistently use sum instead of count(1)
This commit is contained in:
parent
7de1495a42
commit
c30662b696
@ -226,7 +226,7 @@ def process_light_client_update(store: LightClientStore,
|
||||
# Track the maximum number of active participants in the committee signatures
|
||||
store.current_max_active_participants = max(
|
||||
store.current_max_active_participants,
|
||||
update.sync_committee_bits.count(1),
|
||||
sum(update.sync_committee_bits),
|
||||
)
|
||||
|
||||
# Update the optimistic header
|
||||
|
Loading…
x
Reference in New Issue
Block a user