Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: shandongzhejiang <[email protected]>
  • Loading branch information
shandongzhejiang committed Aug 21, 2024
1 parent 78870df commit 4004659
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/devp2p/nodesetcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func parseFilterLimit(args []string) (int, error) {
return limit, nil
}

// andFilter parses node filters in args and and returns a single filter that requires all
// andFilter parses node filters in args and returns a single filter that requires all
// of them to match.
func andFilter(args []string) (nodeFilter, error) {
checks, err := parseFilters(args)
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/_developers/dns-discovery-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ go get -u github.com/celo-org/celo-blockchain/cmd/ethkey
### Crawling the v4 DHT

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

```shell
Expand Down
2 changes: 1 addition & 1 deletion eth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (h *handler) runEthPeer(peer *eth.Peer, handler eth.Handler) error {
}
// Ignore max peer and max inbound peer check if:
// - this is a trusted or statically dialed peer
// - the peer is from from the proxy server (e.g. peers connected to this node's internal network interface)
// - the peer is from the proxy server (e.g. peers connected to this node's internal network interface)
// - forcePeer is true
if !forcePeer {
// KJUE - Remove the server not nil check after restoring peer check in server.go
Expand Down
2 changes: 1 addition & 1 deletion signer/core/signed_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (api *SignerAPI) EcRecover(ctx context.Context, data hexutil.Bytes, sig hex
// addr = ecrecover(hash, signature)
//
// Note, the signature must conform to the secp256k1 curve R, S and V values, where
// the V value must be be 27 or 28 for legacy reasons.
// the V value must be 27 or 28 for legacy reasons.
//
// https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_ecRecover
if len(sig) != 65 {
Expand Down

0 comments on commit 4004659

Please sign in to comment.