From f95eccffb1762f9284ca9e9004e605bbacf3bd4a Mon Sep 17 00:00:00 2001 From: Grant Wuerker Date: Tue, 19 Nov 2019 22:50:14 +0900 Subject: [PATCH] corrections --- beacon_node/network/src/sync/simple_sync.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/beacon_node/network/src/sync/simple_sync.rs b/beacon_node/network/src/sync/simple_sync.rs index 065c6429c9..304fda5ff5 100644 --- a/beacon_node/network/src/sync/simple_sync.rs +++ b/beacon_node/network/src/sync/simple_sync.rs @@ -472,8 +472,7 @@ impl MessageProcessor { // If we found a parent block and state to validate the signature with, we enter this // section, otherwise, we return false. if let Some((parent_block, mut state)) = parent_block_opt { - // Determine the epochal relationship between the state used to validate the block and - // the block itself. + // Determine the epochal relationship between the parent block and the block being verified. let relative_epoch = if let Ok(relative_epoch) = RelativeEpoch::from_slot( parent_block.slot, block.slot, @@ -481,7 +480,7 @@ impl MessageProcessor { ) { relative_epoch } else { - // This section is entered if the block being verified is to far from the parent to + // This section is entered if the block being verified is too far from the parent to // have a RelativeEpoch. // We make sure the block being verified follows the parent's slot.