mirror of
https://github.com/wealdtech/ethdo.git
synced 2026-01-08 21:48:05 -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() {
|
for i := range aggregate.SyncCommitteeBits.Len() {
|
||||||
validatorIndex := committee.Validators[int(i)]
|
validatorIndex := committee.Validators[int(i)]
|
||||||
if _, exists := c.validators[validatorIndex]; !exists {
|
if _, exists := c.validators[validatorIndex]; !exists {
|
||||||
// Not one of ours.
|
if len(c.validators) > 0 {
|
||||||
continue
|
// Not one of ours.
|
||||||
|
continue
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if !aggregate.SyncCommitteeBits.BitAt(i) {
|
if !aggregate.SyncCommitteeBits.BitAt(i) {
|
||||||
missed[validatorIndex]++
|
missed[validatorIndex]++
|
||||||
|
|||||||
Reference in New Issue
Block a user