Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
PR feedback, thanks to djrtwo
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Mar 7, 2019
1 parent efb505c commit 6009997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions eth2/beacon/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
class CommitteeConfig:
def __init__(self, config: BeaconConfig):
# Basic
self.GENESIS_SLOT = config.GENESIS_SLOT
self.GENESIS_EPOCH = config.GENESIS_EPOCH
self.SHARD_COUNT = config.SHARD_COUNT
self.SLOTS_PER_EPOCH = config.SLOTS_PER_EPOCH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def validate_attestation(state: BeaconState,
state.slot,
slots_per_epoch,
min_attestation_inclusion_delay,
get_epoch_start_slot(committee_config.GENESIS_EPOCH, committee_config.SLOTS_PER_EPOCH),
committee_config.GENESIS_SLOT,
)

validate_attestation_justified_epoch(
Expand Down

0 comments on commit 6009997

Please sign in to comment.