Tidy old comments

This commit is contained in:
Paul Hauner 2019-02-12 11:57:20 +11:00
parent 3b75e93122
commit f27308e377
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
2 changed files with 0 additions and 14 deletions

View File

@ -582,12 +582,6 @@ impl EpochProcessable for BeaconState {
self.process_penalties_and_exits(spec);
/*
let e = self.slot / spec.epoch_length;
self.latest_penalized_balances[((e + 1) % spec.latest_penalized_exit_length).as_usize()] =
self.latest_penalized_balances[(e % spec.latest_penalized_exit_length).as_usize()];
*/
self.latest_index_roots[(next_epoch.as_usize() + spec.entry_exit_delay as usize)
% spec.latest_index_roots_length] = hash_tree_root(get_active_validator_indices(
&self.validator_registry,

View File

@ -40,14 +40,6 @@ pub enum AttestationParticipantsError {
CommitteesError(CommitteesError),
}
/*
#[derive(Debug, PartialEq)]
pub enum SlotProcessingError {
CommitteesError(CommitteesError),
EpochProcessingError(EpochError),
}
*/
#[derive(Debug, PartialEq)]
pub enum AttestationValidationError {
IncludedTooEarly,