mirror of
https://github.com/wealdtech/ethdo.git
synced 2026-01-07 21:24:01 -05:00
Support 0 validators for epoch summary.
This commit is contained in:
@@ -556,8 +556,10 @@ func (c *command) processSyncCommitteeDuties(ctx context.Context) error {
|
||||
for i := range aggregate.SyncCommitteeBits.Len() {
|
||||
validatorIndex := committee.Validators[int(i)]
|
||||
if _, exists := c.validators[validatorIndex]; !exists {
|
||||
// Not one of ours.
|
||||
continue
|
||||
if len(c.validators) > 0 {
|
||||
// Not one of ours.
|
||||
continue
|
||||
}
|
||||
}
|
||||
if !aggregate.SyncCommitteeBits.BitAt(i) {
|
||||
missed[validatorIndex]++
|
||||
|
||||
Reference in New Issue
Block a user