mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-10 15:04:27 +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{
|
HTTPPathPrefixFlag = &cli.StringFlag{
|
||||||
Name: "http-rpcprefix",
|
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: "",
|
Value: "",
|
||||||
Category: flags.APICategory,
|
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
|
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.
|
// listening servicer, or schedule it up for later when one arrives.
|
||||||
assign := func(bit uint) {
|
assign := func(bit uint) {
|
||||||
select {
|
select {
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ type unconfirmedBlock struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// unconfirmedBlocks implements a data structure to maintain locally mined blocks
|
// 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
|
// 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.
|
// has a high enough guarantee to not be reorged out of the canonical chain.
|
||||||
type unconfirmedBlocks struct {
|
type unconfirmedBlocks struct {
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ const (
|
||||||
EventTypeNode EventType = "node"
|
EventTypeNode EventType = "node"
|
||||||
|
|
||||||
// EventTypeConn is the type of event emitted when a connection is
|
// 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"
|
EventTypeConn EventType = "conn"
|
||||||
|
|
||||||
// EventTypeMsg is the type of event emitted when a p2p message it
|
// EventTypeMsg is the type of event emitted when a p2p message it
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue