From 4d43de1ceae1feb8d0b644bce525864498f7879b Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Mon, 10 Dec 2018 20:32:44 -0800 Subject: [PATCH] rustfmt edits --- beacon_chain/validation/src/attestation_validation.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/beacon_chain/validation/src/attestation_validation.rs b/beacon_chain/validation/src/attestation_validation.rs index e31f3ae52..4953a92c3 100644 --- a/beacon_chain/validation/src/attestation_validation.rs +++ b/beacon_chain/validation/src/attestation_validation.rs @@ -85,9 +85,10 @@ where * The slot of this attestation must not be more than cycle_length + 1 distance * from the parent_slot of block that contained it. */ - if a.slot < self - .parent_block_slot - .saturating_sub(u64::from(self.cycle_length).saturating_add(1)) + if a.slot + < self + .parent_block_slot + .saturating_sub(u64::from(self.cycle_length).saturating_add(1)) { return Err(AttestationValidationError::ParentSlotTooLow); }