From 9a599085063aca260a83aaa9c679b027b447347c Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 9 Oct 2018 11:08:09 +1100 Subject: [PATCH] Rename voted_hashmap to voted_hashset --- beacon_chain/validation/src/attestation_validation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/validation/src/attestation_validation.rs b/beacon_chain/validation/src/attestation_validation.rs index 46cac7885..c23b21b6e 100644 --- a/beacon_chain/validation/src/attestation_validation.rs +++ b/beacon_chain/validation/src/attestation_validation.rs @@ -164,7 +164,7 @@ impl AttestationValidationContext a.justified_slot) }; - let voted_hashmap = + let voted_hashset = verify_aggregate_signature_for_indices( &signed_message, &a.aggregate_sig, @@ -175,7 +175,7 @@ impl AttestationValidationContext /* * If the hashmap of voters is None, the signature verification failed. */ - match voted_hashmap { + match voted_hashset { None => Err(AttestationValidationError::BadAggregateSignature), Some(hashmap) => Ok(hashmap), }