From 58d38d0b90a08ee1b2ebc8c83a9a79ab59c84591 Mon Sep 17 00:00:00 2001 From: Jim McDonald Date: Sun, 4 Oct 2020 07:27:10 +0100 Subject: [PATCH] Fix documentation typos --- docs/accountmanager.md | 4 ++-- services/accountmanager/service.go | 2 +- services/attestationaggregator/standard/service.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/accountmanager.md b/docs/accountmanager.md index f017561..d6809da 100644 --- a/docs/accountmanager.md +++ b/docs/accountmanager.md @@ -19,7 +19,7 @@ accountmanager: client-key: file:///home/me/certs/validator.example.com.key ca-cert: file:///home/me/certs/ca.crt accounts: - - my valdiators + - my validators ``` Each item is explained in more detail below. @@ -59,7 +59,7 @@ accountmanager: locations: - /home/me/wallets accounts: - - my valdiators + - my validators passphrases: - file:///home/me/secrets/passphrase ``` diff --git a/services/accountmanager/service.go b/services/accountmanager/service.go index d954942..d7d2f3f 100644 --- a/services/accountmanager/service.go +++ b/services/accountmanager/service.go @@ -23,7 +23,7 @@ import ( // Service is the generic accountmanager service. type Service interface{} -// ValidatingAccountsProvider provides methods for valdiating accounts. +// ValidatingAccountsProvider provides methods for validating accounts. type ValidatingAccountsProvider interface { // Accounts provides information about all accounts that are configured to validate through this instance. Accounts(ctx context.Context) ([]ValidatingAccount, error) diff --git a/services/attestationaggregator/standard/service.go b/services/attestationaggregator/standard/service.go index 4b5101e..e25d22c 100644 --- a/services/attestationaggregator/standard/service.go +++ b/services/attestationaggregator/standard/service.go @@ -156,7 +156,7 @@ func (s *Service) Aggregate(ctx context.Context, data interface{}) { s.monitor.AttestationAggregationCompleted(started, "succeeded") } -// IsAggregator reports if we are an attestation aggregator for a given valdiator/committee/slot combination. +// IsAggregator reports if we are an attestation aggregator for a given validator/committee/slot combination. func (s *Service) IsAggregator(ctx context.Context, validatorIndex uint64, committeeIndex uint64, slot uint64, committeeSize uint64) (bool, []byte, error) { modulo := committeeSize / s.targetAggregatorsPerCommittee if modulo == 0 {