diff --git a/block/internal/submitting/submitter.go b/block/internal/submitting/submitter.go index 7340cfbd6..5a380507c 100644 --- a/block/internal/submitting/submitter.go +++ b/block/internal/submitting/submitter.go @@ -264,7 +264,7 @@ func (s *Submitter) processDAInclusionLoop() { } // setFinalWithRetry sets the final height in executor with retry logic. -// NOTE: the function retries the execution client call regardless of the error. Some execution clients errors are irrecoverable, and will eventually halt the node, as expected. +// NOTE: the function retries the execution client call regardless of the error. Some execution client errors are irrecoverable, and will eventually halt the node, as expected. func (s *Submitter) setFinalWithRetry(nextHeight uint64) error { for attempt := 1; attempt <= common.MaxRetriesBeforeHalt; attempt++ { if err := s.exec.SetFinal(s.ctx, nextHeight); err != nil { diff --git a/types/signed_header.go b/types/signed_header.go index ffacbc847..e0dba3335 100644 --- a/types/signed_header.go +++ b/types/signed_header.go @@ -185,7 +185,7 @@ func (sh *SignedHeader) ValidateBasic() error { return ErrSignatureVerificationFailed } -// ValidateBasicWithData performs basic validator of a signed header, granted data for syncing node. +// ValidateBasicWithData performs basic validation of a signed header, given data for syncing node. func (sh *SignedHeader) ValidateBasicWithData(data *Data) error { if err := sh.Header.ValidateBasic(); err != nil { return err