build, internal/ethapi, crypto/bls12381: fix typos (#21210)
speicifc -> specific assigened -> assigned frobenious -> frobenius
This commit is contained in:
parent
4a19c0e7b8
commit
e30c0af861
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -990,7 +990,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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user