mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
simplify
This commit is contained in:
@@ -510,9 +510,7 @@ pub async fn fill_in_aggregation_proofs<T: SlotClock + 'static, E: EthSpec>(
|
|||||||
if duties_service.distributed {
|
if duties_service.distributed {
|
||||||
let mut sync_committee_selection = Vec::new();
|
let mut sync_committee_selection = Vec::new();
|
||||||
|
|
||||||
for (_validator_start_slot, duty) in pre_compute_duties {
|
for (_, duty) in pre_compute_duties {
|
||||||
// Proofs are already known at this slot for this validator.
|
|
||||||
|
|
||||||
let subnet_ids = match duty.subnet_ids::<E>() {
|
let subnet_ids = match duty.subnet_ids::<E>() {
|
||||||
Ok(subnet_ids) => subnet_ids,
|
Ok(subnet_ids) => subnet_ids,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user