Skip to content

Commit e30c0af

Browse files
authored
build, internal/ethapi, crypto/bls12381: fix typos (ethereum#21210)
speicifc -> specific assigened -> assigned frobenious -> frobenius
1 parent 4a19c0e commit e30c0af

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

crypto/bls12381/fp2.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func (e *fp2) exp(c, a *fe2, s *big.Int) {
207207
c.set(z)
208208
}
209209

210-
func (e *fp2) frobeniousMap(c, a *fe2, power uint) {
210+
func (e *fp2) frobeniusMap(c, a *fe2, power uint) {
211211
c[0].set(&a[0])
212212
if power%2 == 1 {
213213
neg(&c[1], &a[1])
@@ -216,7 +216,7 @@ func (e *fp2) frobeniousMap(c, a *fe2, power uint) {
216216
c[1].set(&a[1])
217217
}
218218

219-
func (e *fp2) frobeniousMapAssign(a *fe2, power uint) {
219+
func (e *fp2) frobeniusMapAssign(a *fe2, power uint) {
220220
if power%2 == 1 {
221221
neg(&a[1], &a[1])
222222
return

crypto/bls12381/fp6.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ func (e *fp6) inverse(c, a *fe6) {
314314

315315
func (e *fp6) frobeniusMap(c, a *fe6, power uint) {
316316
fp2 := e.fp2
317-
fp2.frobeniousMap(&c[0], &a[0], power)
318-
fp2.frobeniousMap(&c[1], &a[1], power)
319-
fp2.frobeniousMap(&c[2], &a[2], power)
317+
fp2.frobeniusMap(&c[0], &a[0], power)
318+
fp2.frobeniusMap(&c[1], &a[1], power)
319+
fp2.frobeniusMap(&c[2], &a[2], power)
320320
switch power % 6 {
321321
case 0:
322322
return
@@ -332,9 +332,9 @@ func (e *fp6) frobeniusMap(c, a *fe6, power uint) {
332332

333333
func (e *fp6) frobeniusMapAssign(a *fe6, power uint) {
334334
fp2 := e.fp2
335-
fp2.frobeniousMapAssign(&a[0], power)
336-
fp2.frobeniousMapAssign(&a[1], power)
337-
fp2.frobeniousMapAssign(&a[2], power)
335+
fp2.frobeniusMapAssign(&a[0], power)
336+
fp2.frobeniusMapAssign(&a[1], power)
337+
fp2.frobeniusMapAssign(&a[2], power)
338338
t := e.t
339339
switch power % 6 {
340340
case 0:

internal/build/azure.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
)
2727

2828
// AzureBlobstoreConfig is an authentication and configuration struct containing
29-
// the data needed by the Azure SDK to interact with a speicifc container in the
29+
// the data needed by the Azure SDK to interact with a specific container in the
3030
// blobstore.
3131
type AzureBlobstoreConfig struct {
3232
Account string // Account name to authorize API requests with

internal/ethapi/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNrOrHash
990990

991991
// If the error is not nil(consensus error), it means the provided message
992992
// call or transaction will never be accepted no matter how much gas it is
993-
// assigened. Return the error directly, don't struggle any more.
993+
// assigned. Return the error directly, don't struggle any more.
994994
if err != nil {
995995
return 0, err
996996
}

0 commit comments

Comments
 (0)