mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 12:58:31 +00:00
Verify whether validators really are unknown during sync committee duty API request (#5174)
* Verify whether validators really are unknown during sync committee duty API request * Merge branch 'unstable' into fix-4717 * Merge branch 'unstable' into fix-4717 * Merge branch 'unstable' of https://github.com/sigp/lighthouse into fix-4717
This commit is contained in:
@@ -2566,7 +2566,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
&self,
|
||||
epoch: Epoch,
|
||||
validator_indices: &[u64],
|
||||
) -> Result<Vec<Option<SyncDuty>>, Error> {
|
||||
) -> Result<Vec<Result<Option<SyncDuty>, BeaconStateError>>, Error> {
|
||||
self.with_head(move |head| {
|
||||
head.beacon_state
|
||||
.get_sync_committee_duties(epoch, validator_indices, &self.spec)
|
||||
|
||||
Reference in New Issue
Block a user