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 (
661
661
}
662
662
HTTPPathPrefixFlag = & cli.StringFlag {
663
663
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." ,
665
665
Value : "" ,
666
666
Category : flags .APICategory ,
667
667
}
Original file line number Diff line number Diff line change @@ -1178,7 +1178,7 @@ func TestDeleteStorage(t *testing.T) {
1178
1178
t .Fatal ("delete should have empty hashes" )
1179
1179
}
1180
1180
if len (n .Blob ) != 0 {
1181
- t .Fatal ("delete should have have empty blobs" )
1181
+ t .Fatal ("delete should have empty blobs" )
1182
1182
}
1183
1183
a = append (a , fmt .Sprintf ("%x" , path ))
1184
1184
})
Original file line number Diff line number Diff line change @@ -1008,7 +1008,7 @@ func (c *bls12381MapG1) RequiredGas(input []byte) uint64 {
1008
1008
1009
1009
func (c * bls12381MapG1 ) Run (input []byte ) ([]byte , error ) {
1010
1010
// 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.
1012
1012
// > Output of this call is `128` bytes and is G1 point following respective encoding rules.
1013
1013
if len (input ) != 64 {
1014
1014
return nil , errBLS12381InvalidInputLength
@@ -1043,7 +1043,7 @@ func (c *bls12381MapG2) RequiredGas(input []byte) uint64 {
1043
1043
1044
1044
func (c * bls12381MapG2 ) Run (input []byte ) ([]byte , error ) {
1045
1045
// 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.
1047
1047
// > Output of this call is `256` bytes and is G2 point following respective encoding rules.
1048
1048
if len (input ) != 128 {
1049
1049
return nil , errBLS12381InvalidInputLength
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ func TestVerifySignature(t *testing.T) {
71
71
wrongkey := common .CopyBytes (testpubkey )
72
72
wrongkey [10 ]++
73
73
if VerifySignature (wrongkey , testmsg , sig ) {
74
- t .Errorf ("signature valid with with wrong public key" )
74
+ t .Errorf ("signature valid with wrong public key" )
75
75
}
76
76
}
77
77
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ type Config struct {
83
83
SyncMode downloader.SyncMode
84
84
85
85
// 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.
87
87
EthDiscoveryURLs []string
88
88
SnapDiscoveryURLs []string
89
89
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const (
30
30
EventTypeNode EventType = "node"
31
31
32
32
// 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
34
34
EventTypeConn EventType = "conn"
35
35
36
36
// EventTypeMsg is the type of event emitted when a p2p message it
Original file line number Diff line number Diff line change 28
28
errDatabaseWaitSync = errors .New ("waiting for sync" )
29
29
30
30
// 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
32
32
// to not maintain the layer's original state.
33
33
errSnapshotStale = errors .New ("layer stale" )
34
34
You can’t perform that action at this time.
0 commit comments