mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
@@ -475,10 +475,10 @@ impl<E: EthSpec> Eth1ChainBackend<E> for CachingEth1Backend<E> {
|
||||
voting_period_start_slot,
|
||||
);
|
||||
|
||||
let blocks = self.core.blocks().read();
|
||||
|
||||
let votes_to_consider =
|
||||
get_votes_to_consider(blocks.iter(), voting_period_start_seconds, spec);
|
||||
let votes_to_consider = {
|
||||
let blocks = self.core.blocks().read();
|
||||
get_votes_to_consider(blocks.iter(), voting_period_start_seconds, spec)
|
||||
};
|
||||
|
||||
trace!(
|
||||
self.log,
|
||||
|
||||
Reference in New Issue
Block a user