mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
all: remove duplicate word in comments (#1570)
This commit is contained in:
parent
8d16201f0f
commit
294591e67e
4 changed files with 4 additions and 4 deletions
|
|
@ -494,7 +494,7 @@ var (
|
|||
}
|
||||
HTTPPathPrefixFlag = &cli.StringFlag{
|
||||
Name: "http-rpcprefix",
|
||||
Usage: "HTTP path path prefix on which JSON-RPC is served. Use '/' to serve on all paths.",
|
||||
Usage: "HTTP path prefix on which JSON-RPC is served. Use '/' to serve on all paths.",
|
||||
Value: "",
|
||||
Category: flags.APICategory,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ func (m *Matcher) distributor(dist chan *request, session *MatcherSession) {
|
|||
shutdown = session.quit // Shutdown request channel, will gracefully wait for pending requests
|
||||
)
|
||||
|
||||
// assign is a helper method fo try to assign a pending bit an an actively
|
||||
// assign is a helper method fo try to assign a pending bit an actively
|
||||
// listening servicer, or schedule it up for later when one arrives.
|
||||
assign := func(bit uint) {
|
||||
select {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ type unconfirmedBlock struct {
|
|||
}
|
||||
|
||||
// unconfirmedBlocks implements a data structure to maintain locally mined blocks
|
||||
// have have not yet reached enough maturity to guarantee chain inclusion. It is
|
||||
// have not yet reached enough maturity to guarantee chain inclusion. It is
|
||||
// used by the miner to provide logs to the user when a previously mined block
|
||||
// has a high enough guarantee to not be reorged out of the canonical chain.
|
||||
type unconfirmedBlocks struct {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ const (
|
|||
EventTypeNode EventType = "node"
|
||||
|
||||
// EventTypeConn is the type of event emitted when a connection is
|
||||
// is either established or dropped between two nodes
|
||||
// either established or dropped between two nodes
|
||||
EventTypeConn EventType = "conn"
|
||||
|
||||
// EventTypeMsg is the type of event emitted when a p2p message it
|
||||
|
|
|
|||
Loading…
Reference in a new issue