all: fix docstrings (#29311)

This commit is contained in:
George Ma 2024-03-22 20:29:12 +08:00 committed by GitHub
parent d9bde37ac3
commit 38eb8b3e20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ func (api *BeaconLightApi) httpGetf(format string, params ...any) ([]byte, error
return api.httpGet(fmt.Sprintf(format, params...)) return api.httpGet(fmt.Sprintf(format, params...))
} }
// GetBestUpdateAndCommittee fetches and validates LightClientUpdate for given // GetBestUpdatesAndCommittees fetches and validates LightClientUpdate for given
// period and full serialized committee for the next period (committee root hash // period and full serialized committee for the next period (committee root hash
// equals update.NextSyncCommitteeRoot). // equals update.NextSyncCommitteeRoot).
// Note that the results are validated but the update signature should be verified // Note that the results are validated but the update signature should be verified

View File

@ -29,7 +29,7 @@ import (
) )
// BUG(agl): this implementation is not constant time. // BUG(agl): this implementation is not constant time.
// TODO(agl): keep GF(p²) elements in Mongomery form. // TODO(agl): keep GF(p²) elements in Montgomery form.
// G1 is an abstract cyclic group. The zero value is suitable for use as the // G1 is an abstract cyclic group. The zero value is suitable for use as the
// output of an operation, but cannot be used as an input. // output of an operation, but cannot be used as an input.