diff --git a/beacon_chain/validation/src/attestation_validation.rs b/beacon_chain/validation/src/attestation_validation.rs index 5d492719f..21482d5df 100644 --- a/beacon_chain/validation/src/attestation_validation.rs +++ b/beacon_chain/validation/src/attestation_validation.rs @@ -189,11 +189,11 @@ impl AttestationValidationContext &self.validator_store)?; /* - * If the hashmap of voters is None, the signature verification failed. + * If the hashset of voters is None, the signature verification failed. */ match voted_hashset { None => Err(AttestationValidationError::BadAggregateSignature), - Some(hashmap) => Ok(hashmap), + Some(hashset) => Ok(hashset), } } }