File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -661,7 +661,7 @@ var (
661661 }
662662 HTTPPathPrefixFlag = & cli.StringFlag {
663663 Name : "http.rpcprefix" ,
664- Usage : "HTTP path path prefix on which JSON-RPC is served. Use '/' to serve on all paths." ,
664+ Usage : "HTTP path prefix on which JSON-RPC is served. Use '/' to serve on all paths." ,
665665 Value : "" ,
666666 Category : flags .APICategory ,
667667 }
Original file line number Diff line number Diff line change @@ -1178,7 +1178,7 @@ func TestDeleteStorage(t *testing.T) {
11781178 t .Fatal ("delete should have empty hashes" )
11791179 }
11801180 if len (n .Blob ) != 0 {
1181- t .Fatal ("delete should have have empty blobs" )
1181+ t .Fatal ("delete should have empty blobs" )
11821182 }
11831183 a = append (a , fmt .Sprintf ("%x" , path ))
11841184 })
Original file line number Diff line number Diff line change @@ -1008,7 +1008,7 @@ func (c *bls12381MapG1) RequiredGas(input []byte) uint64 {
10081008
10091009func (c * bls12381MapG1 ) Run (input []byte ) ([]byte , error ) {
10101010 // Implements EIP-2537 Map_To_G1 precompile.
1011- // > Field-to-curve call expects `64` bytes an an input that is interpreted as a an element of the base field.
1011+ // > Field-to-curve call expects an `64` bytes input that is interpreted as an element of the base field.
10121012 // > Output of this call is `128` bytes and is G1 point following respective encoding rules.
10131013 if len (input ) != 64 {
10141014 return nil , errBLS12381InvalidInputLength
@@ -1043,7 +1043,7 @@ func (c *bls12381MapG2) RequiredGas(input []byte) uint64 {
10431043
10441044func (c * bls12381MapG2 ) Run (input []byte ) ([]byte , error ) {
10451045 // Implements EIP-2537 Map_FP2_TO_G2 precompile logic.
1046- // > Field-to-curve call expects `128` bytes an an input that is interpreted as a an element of the quadratic extension field.
1046+ // > Field-to-curve call expects an `128` bytes input that is interpreted as an element of the quadratic extension field.
10471047 // > Output of this call is `256` bytes and is G2 point following respective encoding rules.
10481048 if len (input ) != 128 {
10491049 return nil , errBLS12381InvalidInputLength
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ func TestVerifySignature(t *testing.T) {
7171 wrongkey := common .CopyBytes (testpubkey )
7272 wrongkey [10 ]++
7373 if VerifySignature (wrongkey , testmsg , sig ) {
74- t .Errorf ("signature valid with with wrong public key" )
74+ t .Errorf ("signature valid with wrong public key" )
7575 }
7676}
7777
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ type Config struct {
8383 SyncMode downloader.SyncMode
8484
8585 // This can be set to list of enrtree:// URLs which will be queried for
86- // for nodes to connect to.
86+ // nodes to connect to.
8787 EthDiscoveryURLs []string
8888 SnapDiscoveryURLs []string
8989
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const (
3030 EventTypeNode EventType = "node"
3131
3232 // EventTypeConn is the type of event emitted when a connection is
33- // is either established or dropped between two nodes
33+ // either established or dropped between two nodes
3434 EventTypeConn EventType = "conn"
3535
3636 // EventTypeMsg is the type of event emitted when a p2p message it
Original file line number Diff line number Diff line change 2828 errDatabaseWaitSync = errors .New ("waiting for sync" )
2929
3030 // errSnapshotStale is returned from data accessors if the underlying layer
31- // layer had been invalidated due to the chain progressing forward far enough
31+ // had been invalidated due to the chain progressing forward far enough
3232 // to not maintain the layer's original state.
3333 errSnapshotStale = errors .New ("layer stale" )
3434
You can’t perform that action at this time.
0 commit comments