fix: set CoreService in beaconv1alpha1.Server (#12702)

This commit is contained in:
anukul 2023-08-06 19:16:54 -06:00 committed by GitHub
parent 634133fedc
commit 56a0315dde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,6 +366,7 @@ func (s *Service) Start() {
ReceivedAttestationsBuffer: make(chan *ethpbv1alpha1.Attestation, attestationBufferSize), ReceivedAttestationsBuffer: make(chan *ethpbv1alpha1.Attestation, attestationBufferSize),
CollectedAttestationsBuffer: make(chan []*ethpbv1alpha1.Attestation, attestationBufferSize), CollectedAttestationsBuffer: make(chan []*ethpbv1alpha1.Attestation, attestationBufferSize),
ReplayerBuilder: ch, ReplayerBuilder: ch,
CoreService: coreService,
} }
beaconChainServerV1 := &beacon.Server{ beaconChainServerV1 := &beacon.Server{
CanonicalHistory: ch, CanonicalHistory: ch,