mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Remove comments from fork choice.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user