diff --git a/beacon_node/beacon_chain/src/block_processing.rs b/beacon_node/beacon_chain/src/block_processing.rs index 32670f51d..41e1fb3d3 100644 --- a/beacon_node/beacon_chain/src/block_processing.rs +++ b/beacon_node/beacon_chain/src/block_processing.rs @@ -101,7 +101,7 @@ where Err(error) => { return Ok(Outcome::InvalidBlock(InvalidBlock::StateTransitionFailed( error, - ))) + ))); } }; diff --git a/eth2/block_producer/src/lib.rs b/eth2/block_producer/src/lib.rs index bb62be960..4ea08647d 100644 --- a/eth2/block_producer/src/lib.rs +++ b/eth2/block_producer/src/lib.rs @@ -94,10 +94,10 @@ impl BlockProducer result, Err(DutiesReaderError::UnknownEpoch) => { - return Ok(PollOutcome::ProducerDutiesUnknown(slot)) + return Ok(PollOutcome::ProducerDutiesUnknown(slot)); } Err(DutiesReaderError::UnknownValidator) => { - return Ok(PollOutcome::ValidatorIsUnknown(slot)) + return Ok(PollOutcome::ValidatorIsUnknown(slot)); } Err(DutiesReaderError::EpochLengthIsZero) => return Err(Error::EpochLengthIsZero), Err(DutiesReaderError::Poisoned) => return Err(Error::EpochMapPoisoned),