From e289d8b5fd3759845f383cc0fefd033fbf2b723d Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Mon, 15 Oct 2018 15:08:43 +1100 Subject: [PATCH] Fix comment in attestation_validation --- 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 bb458ebc7..62c37d029 100644 --- a/beacon_chain/validation/src/attestation_validation.rs +++ b/beacon_chain/validation/src/attestation_validation.rs @@ -102,8 +102,8 @@ impl AttestationValidationContext } /* - * The attestation must indicate that its last justified slot is the same as the last justified - * slot known to us. + * The attestation justified slot must not be higher than the last_justified_slot of the + * context. */ if a.justified_slot > self.last_justified_slot { return Err(AttestationValidationError::JustifiedSlotIncorrect);