Skip to content

Commit 56d9bad

Browse files
committed
Fix typo
1 parent 8308de1 commit 56d9bad

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

shared/services/rewards/generator-impl-v11.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ func (r *treeGeneratorImpl_v11) processEpoch(duringInterval bool, epoch uint64)
11871187
defer committeeData.Release()
11881188
}
11891189
if err != nil {
1190-
return fmt.Errorf("error getting committee and attestaion records for epoch %d: %w", epoch, err)
1190+
return fmt.Errorf("error getting committee and attestation records for epoch %d: %w", epoch, err)
11911191
}
11921192

11931193
if duringInterval {
@@ -1333,7 +1333,7 @@ func (r *treeGeneratorImpl_v11) checkAttestations(attestations []beacon.Attestat
13331333

13341334
}
13351335

1336-
// Maps out the attestaion duties for the given epoch
1336+
// Maps out the attestation duties for the given epoch
13371337
func (r *treeGeneratorImpl_v11) getDutiesForEpoch(committees beacon.Committees) error {
13381338

13391339
// Crawl the committees

shared/services/rewards/generator-impl-v8.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ func (r *treeGeneratorImpl_v8) processEpoch(getDuties bool, epoch uint64) error
812812
}
813813
err := wg.Wait()
814814
if err != nil {
815-
return fmt.Errorf("error getting committee and attestaion records for epoch %d: %w", epoch, err)
815+
return fmt.Errorf("error getting committee and attestation records for epoch %d: %w", epoch, err)
816816
}
817817

818818
if getDuties {
@@ -906,7 +906,7 @@ func (r *treeGeneratorImpl_v8) checkDutiesForSlot(attestations []beacon.Attestat
906906

907907
}
908908

909-
// Maps out the attestaion duties for the given epoch
909+
// Maps out the attestation duties for the given epoch
910910
func (r *treeGeneratorImpl_v8) getDutiesForEpoch(committees beacon.Committees) error {
911911

912912
// Crawl the committees

shared/services/rewards/generator-impl-v9-v10.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ func (r *treeGeneratorImpl_v9_v10) processEpoch(duringInterval bool, epoch uint6
909909
defer committeeData.Release()
910910
}
911911
if err != nil {
912-
return fmt.Errorf("error getting committee and attestaion records for epoch %d: %w", epoch, err)
912+
return fmt.Errorf("error getting committee and attestation records for epoch %d: %w", epoch, err)
913913
}
914914

915915
if duringInterval {
@@ -1008,7 +1008,7 @@ func (r *treeGeneratorImpl_v9_v10) checkAttestations(attestations []beacon.Attes
10081008

10091009
}
10101010

1011-
// Maps out the attestaion duties for the given epoch
1011+
// Maps out the attestation duties for the given epoch
10121012
func (r *treeGeneratorImpl_v9_v10) getDutiesForEpoch(committees beacon.Committees) error {
10131013

10141014
// Crawl the committees

0 commit comments

Comments
 (0)