From 173f751c40cd70974814907dc30ec80cff9bef6a Mon Sep 17 00:00:00 2001 From: NIC619 Date: Sun, 17 Mar 2019 13:06:21 +0800 Subject: [PATCH] Apply PR feedback: update return type syntax in `get_winning_root_and_participants` --- eth2/beacon/epoch_processing_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth2/beacon/epoch_processing_helpers.py b/eth2/beacon/epoch_processing_helpers.py index c1a3b89aad..27a1bab170 100644 --- a/eth2/beacon/epoch_processing_helpers.py +++ b/eth2/beacon/epoch_processing_helpers.py @@ -104,7 +104,7 @@ def get_winning_root_and_participants( state: 'BeaconState', shard: Shard, effective_balances: Dict[ValidatorIndex, Gwei], - committee_config: CommitteeConfig) -> Tuple[Hash32, Sequence[ValidatorIndex]]: + committee_config: CommitteeConfig) -> Tuple[Hash32, Tuple[ValidatorIndex, ...]]: valid_attestations = _filter_attestations_by_latest_crosslinks_and_shard( state.current_epoch_attestations + state.previous_epoch_attestations, state.latest_crosslinks[shard],