Remove comments from fork choice.

This commit is contained in:
Age Manning
2019-02-15 13:32:37 +11:00
parent 2cab2952a8
commit 5031ee5505
2 changed files with 1 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ impl<T: ClientDB + Sized> ForkChoice for LongestChain<T> {
let block = self
.block_store
.get_deserialized(&block_hash)?
.ok_or(ForkChoiceError::MissingBeaconBlock(*block_hash))?;
.ok_or_else(|| ForkChoiceError::MissingBeaconBlock(*block_hash))?;
head_blocks.push((index, block));
}