diff --git a/crypto/bls12381/fp2.go b/crypto/bls12381/fp2.go index d7820e061..0f1c5a23a 100644 --- a/crypto/bls12381/fp2.go +++ b/crypto/bls12381/fp2.go @@ -207,7 +207,7 @@ func (e *fp2) exp(c, a *fe2, s *big.Int) { c.set(z) } -func (e *fp2) frobeniousMap(c, a *fe2, power uint) { +func (e *fp2) frobeniusMap(c, a *fe2, power uint) { c[0].set(&a[0]) if power%2 == 1 { neg(&c[1], &a[1]) @@ -216,7 +216,7 @@ func (e *fp2) frobeniousMap(c, a *fe2, power uint) { c[1].set(&a[1]) } -func (e *fp2) frobeniousMapAssign(a *fe2, power uint) { +func (e *fp2) frobeniusMapAssign(a *fe2, power uint) { if power%2 == 1 { neg(&a[1], &a[1]) return diff --git a/crypto/bls12381/fp6.go b/crypto/bls12381/fp6.go index 0128adcf0..304173baa 100644 --- a/crypto/bls12381/fp6.go +++ b/crypto/bls12381/fp6.go @@ -314,9 +314,9 @@ func (e *fp6) inverse(c, a *fe6) { func (e *fp6) frobeniusMap(c, a *fe6, power uint) { fp2 := e.fp2 - fp2.frobeniousMap(&c[0], &a[0], power) - fp2.frobeniousMap(&c[1], &a[1], power) - fp2.frobeniousMap(&c[2], &a[2], power) + fp2.frobeniusMap(&c[0], &a[0], power) + fp2.frobeniusMap(&c[1], &a[1], power) + fp2.frobeniusMap(&c[2], &a[2], power) switch power % 6 { case 0: return @@ -332,9 +332,9 @@ func (e *fp6) frobeniusMap(c, a *fe6, power uint) { func (e *fp6) frobeniusMapAssign(a *fe6, power uint) { fp2 := e.fp2 - fp2.frobeniousMapAssign(&a[0], power) - fp2.frobeniousMapAssign(&a[1], power) - fp2.frobeniousMapAssign(&a[2], power) + fp2.frobeniusMapAssign(&a[0], power) + fp2.frobeniusMapAssign(&a[1], power) + fp2.frobeniusMapAssign(&a[2], power) t := e.t switch power % 6 { case 0: diff --git a/internal/build/azure.go b/internal/build/azure.go index 786284265..ce0241f9f 100644 --- a/internal/build/azure.go +++ b/internal/build/azure.go @@ -26,7 +26,7 @@ import ( ) // AzureBlobstoreConfig is an authentication and configuration struct containing -// the data needed by the Azure SDK to interact with a speicifc container in the +// the data needed by the Azure SDK to interact with a specific container in the // blobstore. type AzureBlobstoreConfig struct { Account string // Account name to authorize API requests with diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 66e7a57a8..f2f834bf3 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -929,7 +929,7 @@ func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNrOrHash // If the error is not nil(consensus error), it means the provided message // call or transaction will never be accepted no matter how much gas it is - // assigened. Return the error directly, don't struggle any more. + // assigned. Return the error directly, don't struggle any more. if err != nil { return 0, err }