Skip to content

Commit db4e4db

Browse files
chore: remove repetitive words (#2327)
Signed-off-by: shandongzhejiang <[email protected]>
1 parent 78870df commit db4e4db

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/devp2p/nodesetcmd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func parseFilterLimit(args []string) (int, error) {
181181
return limit, nil
182182
}
183183

184-
// andFilter parses node filters in args and and returns a single filter that requires all
184+
// andFilter parses node filters in args and returns a single filter that requires all
185185
// of them to match.
186186
func andFilter(args []string) (nodeFilter, error) {
187187
checks, err := parseFilters(args)

docs/docs/_developers/dns-discovery-setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ go get -u github.com/celo-org/celo-blockchain/cmd/ethkey
3030
### Crawling the v4 DHT
3131

3232
Our first step is to compile a list of all reachable nodes. The DHT crawler in cmd/devp2p
33-
is a batch process which runs for a set amount of time. You should should schedule this command
33+
is a batch process which runs for a set amount of time. You should schedule this command
3434
to run at a regular interval. To create a node list, run
3535

3636
```shell

eth/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func (h *handler) runEthPeer(peer *eth.Peer, handler eth.Handler) error {
287287
}
288288
// Ignore max peer and max inbound peer check if:
289289
// - this is a trusted or statically dialed peer
290-
// - the peer is from from the proxy server (e.g. peers connected to this node's internal network interface)
290+
// - the peer is from the proxy server (e.g. peers connected to this node's internal network interface)
291291
// - forcePeer is true
292292
if !forcePeer {
293293
// KJUE - Remove the server not nil check after restoring peer check in server.go

signer/core/signed_data.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (api *SignerAPI) EcRecover(ctx context.Context, data hexutil.Bytes, sig hex
242242
// addr = ecrecover(hash, signature)
243243
//
244244
// Note, the signature must conform to the secp256k1 curve R, S and V values, where
245-
// the V value must be be 27 or 28 for legacy reasons.
245+
// the V value must be 27 or 28 for legacy reasons.
246246
//
247247
// https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_ecRecover
248248
if len(sig) != 65 {

0 commit comments

Comments
 (0)