Skip to content

Commit ac4e239

Browse files
authored
Merge branch 'master' into tx-indexing-fix
2 parents a5ddb68 + 82aed45 commit ac4e239

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/vm/contracts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ func (c *bls12381MapG1) RequiredGas(input []byte) uint64 {
10441044

10451045
func (c *bls12381MapG1) Run(input []byte) ([]byte, error) {
10461046
// Implements EIP-2537 Map_To_G1 precompile.
1047-
// > Field-to-curve call expects `64` bytes an an input that is interpreted as a an element of the base field.
1047+
// > Field-to-curve call expects `64` bytes as an input that is interpreted as a an element of the base field.
10481048
// > Output of this call is `128` bytes and is G1 point following respective encoding rules.
10491049
if len(input) != 64 {
10501050
return nil, errBLS12381InvalidInputLength
@@ -1079,7 +1079,7 @@ func (c *bls12381MapG2) RequiredGas(input []byte) uint64 {
10791079

10801080
func (c *bls12381MapG2) Run(input []byte) ([]byte, error) {
10811081
// Implements EIP-2537 Map_FP2_TO_G2 precompile logic.
1082-
// > Field-to-curve call expects `128` bytes an an input that is interpreted as a an element of the quadratic extension field.
1082+
// > Field-to-curve call expects `128` bytes as an input that is interpreted as a an element of the quadratic extension field.
10831083
// > Output of this call is `256` bytes and is G2 point following respective encoding rules.
10841084
if len(input) != 128 {
10851085
return nil, errBLS12381InvalidInputLength

sync/statesync/code_syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type codeSyncer struct {
5858
done <-chan struct{}
5959
}
6060

61-
// newCodeSyncer returns a a code syncer that will sync code bytes from the network in a separate thread.
61+
// newCodeSyncer returns a code syncer that will sync code bytes from the network in a separate thread.
6262
func newCodeSyncer(config CodeSyncerConfig) *codeSyncer {
6363
return &codeSyncer{
6464
CodeSyncerConfig: config,

0 commit comments

Comments
 (0)