Tidy up and add some logs

This commit is contained in:
Paul Hauner
2019-01-31 18:32:01 +11:00
parent e1239a1ecc
commit c1b3d1b63e
2 changed files with 28 additions and 6 deletions

View File

@@ -39,7 +39,6 @@ impl AttestationAggregator {
free_attestation: &FreeAttestation,
spec: &ChainSpec,
) -> Result<ProcessOutcome, ProcessError> {
// let validator_index = free_attestation.validator_index as usize;
let (slot, shard, committee_index) = state.attestation_slot_and_shard_for_validator(
free_attestation.validator_index as usize,
spec,