mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 14:34:17 +00:00
chore: lint repo (use american english) (#9144)
This commit is contained in:
@@ -771,7 +771,7 @@ func countOldAndNewAddrsInSelection(addrs []*p2p.NetAddress, book *addrBook) (nO
|
||||
return
|
||||
}
|
||||
|
||||
// Analyse the layout of the selection specified by 'addrs'
|
||||
// Analyze the layout of the selection specified by 'addrs'
|
||||
// Returns:
|
||||
// - seqLens - the lengths of the sequences of addresses of same type
|
||||
// - seqTypes - the types of sequences in selection
|
||||
|
||||
@@ -489,7 +489,7 @@ func (r *Reactor) ensurePeers() {
|
||||
}
|
||||
// TODO: consider moving some checks from toDial into here
|
||||
// so we don't even consider dialing peers that we want to wait
|
||||
// before dialling again, or have dialed too many times already
|
||||
// before dialing again, or have dialed too many times already
|
||||
toDial[try.ID] = try
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user