mirror of https://github.com/certusone/vouch.git
Avoid crash if beacon committee subscription information is not present.
Fixes #1
This commit is contained in:
parent
469e6a02a3
commit
6845a0ac08
|
@ -1,4 +1,5 @@
|
|||
Development
|
||||
- avoid crash if beacon committee subscription information is not present
|
||||
- add measurement of validator status fetching operations
|
||||
- increase maximum block receipt delay metric from 4s to 12s
|
||||
- add internal ability to list names of all active scheduler jobs
|
||||
|
|
|
@ -132,6 +132,7 @@ func (s *Service) AttestAndScheduleAggregate(ctx context.Context, data interface
|
|||
info, exists := slotInfoMap[attestation.Data.Index]
|
||||
if !exists {
|
||||
log.Debug().Uint64("attestation_slot", attestation.Data.Slot).Uint64("committee_index", attestation.Data.Index).Msg("No committee info; cannot aggregate")
|
||||
continue
|
||||
}
|
||||
if info.Aggregate {
|
||||
aggregatorDuty, err := attestationaggregator.NewDuty(ctx, info.ValidatorIndex, info.ValidatorPubKey, attestation, info.Signature)
|
||||
|
|
Loading…
Reference in New Issue