mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
test progress
This commit is contained in:
@@ -338,6 +338,10 @@ impl<T: SlotClock + 'static, E: EthSpec> DutiesService<T, E> {
|
||||
pub fn inclusion_list_duties(&self, slot: Slot) -> Vec<InclusionListDutyData> {
|
||||
let epoch = slot.epoch(E::slots_per_epoch());
|
||||
|
||||
if !self.spec.is_focil_enabled_for_epoch(epoch) {
|
||||
return vec![]
|
||||
}
|
||||
|
||||
// Only collect validators that are considered safe in terms of doppelganger protection.
|
||||
let signing_pubkeys: HashSet<_> = self
|
||||
.validator_store
|
||||
|
||||
@@ -159,6 +159,7 @@ impl<T: SlotClock + 'static, E: EthSpec> InclusionListService<T, E> {
|
||||
.now()
|
||||
.ok_or("Unable to determine current slot from clock")
|
||||
.map(|slot| slot.epoch(E::slots_per_epoch()));
|
||||
|
||||
// TODO(focil) unused variable
|
||||
let _current_epoch = current_epoch.map_err(|e| {
|
||||
crit!(
|
||||
|
||||
Reference in New Issue
Block a user