mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 07:29:02 +00:00
undo tuple wrapping
This commit is contained in:
parent
a5a2e29dfe
commit
1408a1ee0d
@ -180,10 +180,10 @@ def get_persistent_committee(state: BeaconState,
|
||||
|
||||
# Take not-yet-cycled-out validators from earlier committee and already-cycled-in validators from
|
||||
# later committee; return a sorted list of the union of the two, deduplicated
|
||||
return tuple(sorted(list(set(
|
||||
return sorted(list(set(
|
||||
[i for i in earlier_committee if epoch % PERSISTENT_COMMITTEE_PERIOD < get_switchover_epoch(state, epoch, i)] +
|
||||
[i for i in later_committee if epoch % PERSISTENT_COMMITTEE_PERIOD >= get_switchover_epoch(state, epoch, i)]
|
||||
))))
|
||||
)))
|
||||
```
|
||||
|
||||
### `get_shard_proposer_index`
|
||||
|
Loading…
x
Reference in New Issue
Block a user